Re: [ansible-project] execute Synchronize module in AAP 2.3

2023-12-13 Thread Prady A
Thanks a Ton Walter and dick Delegate option filnlally worked.. I wonder how copy module works even though the concept are same. Regards PD On Thu, 14 Dec 2023 at 00:24, 'Rowe, Walter P. (Fed)' via Ansible Project < ansible-project@googlegroups.com> wrote: > If the files to sync are part of the

[ansible-project] how to encrypt ssh_pass password without asking any more password

2023-12-13 Thread Sameer Modak
Hello Team, how to encrypt ssh_pass password without asking any more password. I dont want to type password everytime i run the ad hoc command like ansible -i hosts.yaml -m shell -a "ulimit -a". I dont want to put the password everytime i just want to hide or obscure or salt the below

[ansible-project] execute Synchronize module in AAP 2.3

2023-12-13 Thread Prady A
Hello experts I ve simple piece of below code - Name: Install rsync on the Target package: name: rsync state: present - Name: Synchronize file from local to remote synchronize: src: /tmp/memo.txt dest: /temp/test code I can run the code

Re: [ansible-project] execute Synchronize module in AAP 2.3

2023-12-13 Thread Prady A
Thank you for your direction and suggestion.. actually we want to sync http folder not a file Is there any way I can sync between 2 servers.? Regards Prady On Wed, 13 Dec 2023 at 22:24, Dick Visser wrote: > Hii > If it really is just one file, you can use the copy module... > > -- > You

Re: [ansible-project] execute Synchronize module in AAP 2.3

2023-12-13 Thread Dick Visser
Hii If it really is just one file, you can use the copy module... -- 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

Re: [ansible-project] execute Synchronize module in AAP 2.3

2023-12-13 Thread 'Rowe, Walter P. (Fed)' via Ansible Project
AAP uses execution environments which are containers. If /tmp/memo.txt is not known to the container the task will fail. Walter -- Walter Rowe, Division Chief Infrastructure Services Division Mobile: 202.355.4123 On Dec 13, 2023, at 5:56 AM, Prady A wrote: Hello experts I ve simple piece of

Re: [ansible-project] execute Synchronize module in AAP 2.3

2023-12-13 Thread 'Rowe, Walter P. (Fed)' via Ansible Project
If the files to sync are part of the project that includes the playbook then it is present inside the container. If the files / folder to sync reside elsewhere, you need to delegate that task(s) to that source system where they reside that you want to sync. Walter -- Walter Rowe, Division

Re: [ansible-project] execute Synchronize module in AAP 2.3

2023-12-13 Thread Prady A
Hi Dick Thank you for the directions. If I not wrong all AAP uses containers to execute the templates and this is not specific to me. I m not sure why ansible AAP provided which does not work in the out of box bundle. let me chk with RH support.. Thank a lot again.. On Wed, 13 Dec 2023 at

Re: [ansible-project] execute Synchronize module in AAP 2.3

2023-12-13 Thread Dick Visser
On Wed, 13 Dec 2023 at 14:43, Prady A wrote: > Thank you for your direction and suggestion.. > actually we want to sync http folder not a file > Is there any way I can sync between 2 servers.? > You can, with the synchronize module. But as explained above, your specific setup includes