Re: [EXTERNAL] Re: [ansible-project] rsync failure

2022-08-01 Thread Ashok Reddy
> > 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 > > >

Re: [ansible-project] rsync failure

2022-08-01 Thread John Petro
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

Re: [ansible-project] rsync failure

2022-08-01 Thread Dick Visser
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,

Re: [ansible-project] rsync failure

2022-08-01 Thread Ashok Reddy
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

Re: [ansible-project] rsync failure

2022-08-01 Thread Dick Visser
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

Re: [ansible-project] rsync failure

2022-08-01 Thread Ashok Reddy
--- - 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

Re: [ansible-project] rsync failure

2022-08-01 Thread dulhaver via Ansible Project
> 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] > **

[ansible-project] rsync failure

2022-08-01 Thread Ashok Reddy
--- - 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] *