diff options
Diffstat (limited to 'ansible/roles/holywood2/tasks/main.yml')
-rw-r--r-- | ansible/roles/holywood2/tasks/main.yml | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/ansible/roles/holywood2/tasks/main.yml b/ansible/roles/holywood2/tasks/main.yml index fbd5224..a6a7171 100644 --- a/ansible/roles/holywood2/tasks/main.yml +++ b/ansible/roles/holywood2/tasks/main.yml @@ -22,3 +22,27 @@ owner: root group: root mode: 0644 + +- name: install borg + apt: + name: borgbackup + default_release: stretch-backports + +- name: install borg scripting + copy: + src: "{{ item }}" + dest: /root + owner: root + group: root + mode: 0755 + with_items: + - run-borg + - borg-all + +- name: install borg passphrase + copy: + content: "{{ lookup('pipe', 'pass borg/holywood2-to-willikins') }}" + dest: /etc/borg-passphrase + owner: root + group: root + mode: 0600 |