Improve gen_bootstrap.yml.

This commit is contained in:
yohan 2023-10-21 21:02:00 +02:00
parent 91de11c7db
commit 7cb129d6b6

View File

@ -48,3 +48,12 @@
ansible.builtin.get_url:
url: "https://{{ CLOUD_SERVER }}/s/{{ DOC_KEY }}/download"
dest: /mnt/volumes/tmp_duplicity_workdir/data/Documentation.md
- name: Copy new documentation
ansible.builtin.copy:
src: /mnt/volumes/tmp_duplicity_workdir/data/Documentation.md
dest: /mnt/volumes/tmp_duplicity_workdir/data/secrets/bootstrap/Documentation.md
register: copy_output
- debug: msg="file changed"
when: copy_output is changed