actually using the subroles
This commit is contained in:
15
plays/laptop-backup.yml
Normal file
15
plays/laptop-backup.yml
Normal file
@@ -0,0 +1,15 @@
|
||||
- name: Configure local backup config
|
||||
hosts: localhost
|
||||
become: yes
|
||||
user: remy
|
||||
|
||||
roles:
|
||||
- role: role-laptop-backup
|
||||
# vars:
|
||||
vars:
|
||||
- service_config_dir: /etc/systemd/system/laptop-backup-config
|
||||
- service_target_dir: /etc/systemd/system/
|
||||
# - backup_dir: /mnt/backup
|
||||
# - backup_user: remy
|
||||
# - backup_group: remy
|
||||
# - backup_host:
|
||||
Reference in New Issue
Block a user