From e41c055ef76cd34359872f9ace98cefcdc524eb2 Mon Sep 17 00:00:00 2001 From: yohan <783b8c87@scimetis.net> Date: Sat, 21 Oct 2023 21:34:13 +0200 Subject: [PATCH] Improve gen_bootstrap.yml. --- gen_bootstrap.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/gen_bootstrap.yml b/gen_bootstrap.yml index aa30874..a085140 100755 --- a/gen_bootstrap.yml +++ b/gen_bootstrap.yml @@ -65,6 +65,11 @@ dest: /mnt/volumes/tmp_duplicity_workdir/data/mail when: copy_output is changed + - name: Install python2 + ansible.builtin.package: + name: python2 + state: present + - name: Send mail with new secrets ansible.builtin.command: /root/sendmail.py -a /mnt/volumes/tmp_duplicity_workdir/data/secrets.tar.gz.enc /mnt/volumes/tmp_duplicity_workdir/data/mail /root/mail_credentials.json when: copy_output is changed