actually using the subroles

This commit is contained in:
2023-06-26 12:12:13 +02:00
parent c6848f3584
commit a29270b735
6 changed files with 23 additions and 8 deletions

15
plays/laptop-backup.yml Normal file
View 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: