msg Could not find or access home html on the Ansible Controller nIf you are using a module and expect the file to exist on the remote see the remote src option

0 votes

Hi Guys,

I am trying to run my Ansible Playbook. But it is showing me the below error.

 "msg": "Could not find or access 'home.html'\nSearched in:\n\t/root/files/home.html\n\t/root/home.html\n\t./files/home.html\n\t./home.html on the Ansible Controller.\nIf you are using a module and expect the file to exist on the remote, see the remote_src option"

Jul 30, 2020 in Ansible by akhtar
• 38,230 points
11,715 views

1 answer to this question.

0 votes

Hi@akhtar,

I think your file does not have the permissions or check the path of the file properly. To give permissions to your file, you can use the below command.

$ chmod +rwx filename
answered Jul 30, 2020 by MD
• 95,440 points

Related Questions In Ansible

0 votes
1 answer

How to move/rename a file using an Ansible task on a remote system?

Hi@akhtar, You can use the command module to ...READ MORE

answered Sep 17, 2020 in Ansible by MD
• 95,440 points
19,376 views
+15 votes
2 answers

Git management technique when there are multiple customers and need multiple customization?

Consider this - In 'extended' Git-Flow, (Git-Multi-Flow, ...READ MORE

answered Mar 27, 2018 in DevOps & Agile by DragonLord999
• 8,450 points
3,514 views
+2 votes
1 answer
0 votes
1 answer

How to overwrite the content of a file in remote systems using Ansible playbook?

Hi@akhtar, You can find one argument in the ...READ MORE

answered Aug 2, 2020 in Ansible by MD
• 95,440 points
13,281 views
0 votes
1 answer

How to find the memory of remote systems using the setup module in Ansible?

Hi@akhtar, You need to use the setup module to ...READ MORE

answered Aug 10, 2020 in Ansible by MD
• 95,440 points
5,366 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP