>
> dest: /root
>
>
>
>
>
> *From:* ansible-project@googlegroups.com
> *On Behalf Of *John Petro
> *Sent:* Monday, August 1, 2022 8:47 AM
> *To:* ansible-project@googlegroups.com
> *Subject:* [EXTERNAL] Re: [ansible-project] rsync failure
>
>
>
Have you run the playbook in verbose mode to get more detail? Maybe
there's a mis-spelling in the inventory hostname you used or something in
the inventory.
The only other idea I have is to copy/paste the msg section that starts
with "Could" into your search engine of choice and see what comes up
Well in that case you will have to find out for yourself why it doesn't
work.
On Mon, 1 Aug 2022 at 13:07, Ashok Reddy wrote:
> Hi Team,
>
> whatever i've mentioned the inventory hostname just ref i.e not the actual
> one.
>
> On Mon, Aug 1, 2022 at 4:18 PM Dick Visser wrote:
>
>>
>>
>> On Mon,
Hi Team,
whatever i've mentioned the inventory hostname just ref i.e not the actual
one.
On Mon, Aug 1, 2022 at 4:18 PM Dick Visser wrote:
>
>
> On Mon, 1 Aug 2022 at 12:23, Ashok Reddy wrote:
>
>> ---
>>
>> - hosts: all
>>
>> become: true
>>
>> become_method: sudo
>>
>> gather_facts: tr
On Mon, 1 Aug 2022 at 12:23, Ashok Reddy wrote:
> ---
>
> - hosts: all
>
> become: true
>
> become_method: sudo
>
> gather_facts: true
>
> tasks:
>
> - name: block
>
> block:
>
> - name: rsync
>
> command: "cat /proc/meminfo"
>
> rescue:
>
> - deb
---
- hosts: all
become: true
become_method: sudo
gather_facts: true
tasks:
- name: block
block:
- name: rsync
command: "cat /proc/meminfo"
rescue:
- debug:
msg: proceed to install
- name: install rsync
dn
> On 08/01/2022 9:04 AM CEST Ashok Reddy wrote:
>
>
> ---
> - hosts: all
> become: true
> become_method: sudo
> gather_facts: true
> tasks:
> - name: rsync
> ansible.posix.synchronize:
> src: /root
> dest: /root
> delegate_to: hostname
>
>
> error:
>
>
> TASK [rsync]
> **
---
- hosts: all
become: true
become_method: sudo
gather_facts: true
tasks:
- name: rsync
ansible.posix.synchronize:
src: /root
dest: /root
delegate_to: hostname
error:
TASK [rsync]
*