Install python-swiftclient requirement.
This commit is contained in:
parent
a3a50c7b58
commit
0f9dabeacd
@ -146,6 +146,12 @@
|
|||||||
src: "{{ WORKDIR }}/secrets.tar.gz.enc"
|
src: "{{ WORKDIR }}/secrets.tar.gz.enc"
|
||||||
dest: "{{ WORKDIR }}/backup/secrets.tar.gz.enc"
|
dest: "{{ WORKDIR }}/backup/secrets.tar.gz.enc"
|
||||||
|
|
||||||
|
# python-swiftclient is a requirement of duplicity
|
||||||
|
- name: Install python-swiftclient
|
||||||
|
ansible.builtin.package:
|
||||||
|
name: python-swiftclient
|
||||||
|
state: present
|
||||||
|
|
||||||
- name: Backup with duplicity
|
- name: Backup with duplicity
|
||||||
ansible.builtin.command: "duplicity --num-retries 3 --full-if-older-than 1M --progress --archive-dir {{ ARCHIVE_DIR }} --name bootstrap --allow-source-mismatch '{{ WORKDIR }}/backup' swift://bootstrap"
|
ansible.builtin.command: "duplicity --num-retries 3 --full-if-older-than 1M --progress --archive-dir {{ ARCHIVE_DIR }} --name bootstrap --allow-source-mismatch '{{ WORKDIR }}/backup' swift://bootstrap"
|
||||||
environment:
|
environment:
|
||||||
|
Loading…
Reference in New Issue
Block a user