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
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
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
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
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
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
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
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
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