Remove the bogus leading and trailing spaces from `dest:`.

On Thursday, July 14, 2022 at 9:41:54 AM UTC-4 [email protected] wrote:

> 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/2f0cb460-4513-49f3-b0f9-10bf61a54c4en%40googlegroups.com.

Reply via email to