diff options
author | Trygve Laugstøl <trygvis@inamo.no> | 2020-08-26 15:22:10 +0200 |
---|---|---|
committer | Trygve Laugstøl <trygvis@inamo.no> | 2020-08-26 15:22:10 +0200 |
commit | 96e26da3dde19b492f7455437ea26e6c0df62442 (patch) | |
tree | e1c36aee76920574bb91cdb20052b640312a2d3b /ansible | |
parent | 9158fc8ff671707c686fcd40e13b06310112eada (diff) | |
download | infra-96e26da3dde19b492f7455437ea26e6c0df62442.tar.gz infra-96e26da3dde19b492f7455437ea26e6c0df62442.tar.bz2 infra-96e26da3dde19b492f7455437ea26e6c0df62442.tar.xz infra-96e26da3dde19b492f7455437ea26e6c0df62442.zip |
borg.
Diffstat (limited to 'ansible')
-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: |