I have a TASK that should copy ~/files/repo_pgbackrest.conf to the remote as
/etc/pgbackrest/pgbackrest.conf (note the differing file name).
however, despite that fact playbook exection returns an 'ok' an that TASK, the
file is not pushed to the remote.
==============================================================
- name: install preps - push config file
copy:
src: files/repo_pgbackrest.conf # was: repo_pgbackrest.conf
dest: " {{ item }} "
mode: '0640'
owner: pgbackrest
group: pgbackrest
become: true
loop:
- /etc/pgbackrest/pgbackrest.conf
==============================================================
Knowing that sometimes things only work after several re-runs I executed this
about 5 times with the exact same, unwanted behavior.
So ... what am I doing wrong here?
--
You received this message because you are subscribed to the Google Groups
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/ansible-project/1699810404.552239.1657806094344%40office.mailbox.org.