Thank you. It never show any other error. just show task failed
@Inderpreet @kodekloud-support3 @Ayman
Task failed without any errors! , files were successfully copied to all app host servers.
PFA screenshot for reference.
@Inderpreet @kodekloud-support3 @Ayman
My task was also failed without errors!, all the files were successfully copied to all the application servers.
@Inderpreet @Tej-Singh-Rana
Hi Guys,
I too getting the task as failed, but i did correctly. Also it’s not showing any error messages. Please check and let me know.
Below i have attached the screenshot for reference.
@Inderpreet @Ayman @kodekloud-support3 @rahul456
Hi
Anybody please check on this? This task was assigned by yesterday.
Hello, Surendar
Don’t worry KKE team will look. In the above, discussion on the errors. Have you customize your ansible.cfg file?
I’m not yet customize my config file.
All things i did mentioned at my inventory file like:
[app]
172.16.238.10 ansible_user=tony ansible_password=Ir0nM@n
172.16.238.11 ansible_user=steve ansible_password=Am3ric@
172.16.238.12 ansible_user=banner ansible_password=BigGr33n
hi,
i had the same issue with copy module, it worked fine but the task was marked failed. kindly to check.
Br.
hi @ibrahim, sorry for the issue, this is marked pending for you, please give it an another try
hi, thanks Bro. task executed successfully.
Hi @Salim , just curious, how are you able to connect to application server without specifying ansible_ssh_pass in inventory file ?
@Inderpreet @kodekloud-support3
I have successfully completed this task but it has been marked failed. Can you please help on this
Hello, @Surendar
Please choose the “Review” option. So me and our community members will take a look into it.
[app]
172.16.238.10 ansible_user=tony ansible_password=Ir0nM@n
172.16.238.11 ansible_user=steve ansible_password=Am3ric@
172.16.238.12 ansible_user=banner ansible_password=BigGr33n
- name: Play to copy files
hosts: all
become: yes
tasks:- name: Task to copy files to all servers
copy:
src: ‘/usr/src/security/index.html’
dest: /opt/security/index.html
- name: Task to copy files to all servers