actually using the subroles

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

12
.gitmodules vendored
View File

@ -1,6 +1,6 @@
[submodule "config-laptop-backup"]
path = config-laptop-backup
url = ssh://git@git.kluster.moll.re:2222/remoll/config-laptop-backup.git
[submodule "config-k3s-deployments"]
path = config-k3s-deployments
url = ssh://git@git.kluster.moll.re:2222/remoll/config-k3s-deployments.git
[submodule "roles/role-k3s-deployments"]
path = roles/role-k3s-deployments
url = ssh://git@git.kluster.moll.re:2222/remoll/role-k3s-deployments.git
[submodule "roles/role-laptop-backup"]
path = roles/role-laptop-backup
url = ssh://git@git.kluster.moll.re:2222/remoll/role-laptop-backup.git

@ -1 +0,0 @@
Subproject commit 40a998b4f391e94d500c08c11f46b3d643d07799

@ -1 +0,0 @@
Subproject commit d6ff38af155cf3f5f5b709f86240f6099932885d

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:

@ -0,0 +1 @@
Subproject commit 6731cc2cbcd7a01dc9dd233d6e64df81648c9bd8

@ -0,0 +1 @@
Subproject commit 23ae33a8fab03d5fe8d3ac8029cd8e7487c0c8de