diff options
-rw-r--r-- | ansible/borg/borg-clients.yml (renamed from ansible/borg/borg.yml) | 26 | ||||
-rw-r--r-- | ansible/borg/borg-target.yml | 21 |
2 files changed, 23 insertions, 24 deletions
diff --git a/ansible/borg/borg.yml b/ansible/borg/borg-clients.yml index 86b01eb..a155bb7 100644 --- a/ansible/borg/borg.yml +++ b/ansible/borg/borg-clients.yml @@ -1,32 +1,10 @@ - hosts: - - malabaricus - roles: - - role: borg-target - tags: borg-target - become: yes - vars: - borg_target__clients: - conflatorio: - state: present - repos: - home: - db: - birgitte: - state: present - repos: - home: - arius: - state: present - repos: - home: - -- hosts: - conflatorio - birgitte - arius roles: - role: borg-client - tags: borg-client + tags: borg-client,never become: yes - hosts: @@ -38,7 +16,7 @@ tags: borg-job become: yes vars: - borg_job__target: malabaricus.trygvis.io + borg_job__target: malabaricus.vpn.trygvis.io borg_job__username: borg borg_job__name: home borg_job__on_calendar: daily diff --git a/ansible/borg/borg-target.yml b/ansible/borg/borg-target.yml new file mode 100644 index 0000000..ac3c5a9 --- /dev/null +++ b/ansible/borg/borg-target.yml @@ -0,0 +1,21 @@ +- hosts: + - malabaricus + roles: + - role: borg-target + tags: borg-target + become: yes + vars: + borg_target__clients: + conflatorio: + state: present + repos: + home: + db: + birgitte: + state: present + repos: + home: + arius: + state: present + repos: + home: |