Ansible File Module task failed

Hello @Inderpreet,

I have completed the task and I am sure it is correct. But the task failed due to unable to find a inventory file.

I have created the playbook with the instruction mentioned and ran it successfully.

1 Like

@harshp05

Hi! you were logged in as root user and also in the task description it’s asked :- The user/group owner of file /usr/src/opt.txt must be tony on app server 1 , steve on app server 2 and banner on app server 3, instead you gave root user.
Please give it an other try.

Hello @Inderpreet @mmumshad Could you please look into the below issue . Even though in path /home/thor/playbook playbook.yaml was created , the result says yaml not found .

@paresh123, I commented on your review. The filename should be playbook.yml and not playbook.yaml. That’s why your task failed.