If your goal is to have two equal directories, then the synchronize
module would make sense.

On Fri, 22 Mar 2019 at 09:25, <ryad9200...@gmail.com> wrote:
>
> Hi Eric,
>
> Yes but the subject is -p since I'm mainly interested in keeping all the 
> characteristics of the file ...
> In addition, I know that there is shell and command in ansible but I want a 
> "syntax" ansible. The objective with ansible it is to use its modules 
> (example: service, get_url, etc ...) otherwise one does that shell and 
> command and the problem and to regulate, that will return to make a script 
> bash: /
>
> Regards,
>
> Le jeudi 21 mars 2019 18:37:45 UTC+1, eric.b....@nasa.gov a écrit :
>>
>> Ansible has a "shell" and a "command" module, both of which allow you to 
>> pass arbitrary Unix commands to the remote host.
>>
>> Also, the -r flag has no use on a single file.
>>
>> --EbH
>>
> --
> 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 ansible-project+unsubscr...@googlegroups.com.
> To post to this group, send email to ansible-project@googlegroups.com.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/ansible-project/8f32ef3e-e01a-4806-9db2-09d95513b4d0%40googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.



-- 
Dick Visser
Trust & Identity Service Operations Manager
GÉANT

-- 
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 ansible-project+unsubscr...@googlegroups.com.
To post to this group, send email to ansible-project@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/CAL8fbwMMAuCbpqxbsRw3CvkmGz-itFUDVU6t%2BSrvQsrxxdUpWw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to