From 0f9dabeacdb9fadbe3fe049c8effdb49781a0d28 Mon Sep 17 00:00:00 2001 From: yohan <783b8c87@scimetis.net> Date: Sun, 22 Oct 2023 00:18:46 +0200 Subject: [PATCH] Install python-swiftclient requirement. --- gen_bootstrap.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/gen_bootstrap.yml b/gen_bootstrap.yml index e19e3ae..307ecc5 100755 --- a/gen_bootstrap.yml +++ b/gen_bootstrap.yml @@ -146,6 +146,12 @@ src: "{{ WORKDIR }}/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 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: