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 <pradyumna....@gmail.com> wrote: 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 using ansible-playbook command but when I am executing it via ansible automation platform gui it is giving me the below error Message . No file error. cmd": "/usr/bin/rsync --delay-updates -F --compress --archive --rsh='/usr/bin/ssh -S none -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null' --out-format='<<CHANGED>>%i %n%L' /tmp/memo.txt root@xyz1234:/tmp/test", "msg": "Warning: Permanently added 'xyz1234,148.168.65.73' (ECDSA) to the list of known hosts.\r\nWARNING!\n This system, owned by the Company, may be used only by authorized personnel for authorized purposes. All activities conducted on and communications and other information, including personal information, accessed, processed, stored, or transmitted using the system may be examined, recorded, copied, used and disclosed in accordance with applicable law. The Company monitors systems to safeguard the security of its systems and data, to protect against policy violations and unlawful activity, to administer working relationships, and to meet legal obligations and promises to business partners. By proceeding, you agree to use the system only for authorized purposes and in accordance with Company policies that have been made available to you. For additional information consult your local business's employee privacy notice or contact your local Privacy Officer.\nrsync: link_stat \"/tmp/memo.txt\" failed: No such file or directory (2)\nrsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1189) [sender=3.1.3]\n", Though I kept /tmp/memo.txt in both control node and execution node still the error persist. Kindly suggest Thanks pd -- 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<mailto:ansible-project+unsubscr...@googlegroups.com>. To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/CAEuB3AqOxr3AbQ9k-vgCdJtgmLTm3ZvKBBD645mNW-F9F_p%2BeQ%40mail.gmail.com<https://groups.google.com/d/msgid/ansible-project/CAEuB3AqOxr3AbQ9k-vgCdJtgmLTm3ZvKBBD645mNW-F9F_p%2BeQ%40mail.gmail.com?utm_medium=email&utm_source=footer>. -- 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 view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/D306ACD9-CF34-4763-B065-9E893A9819A9%40nist.gov.