Ansible Lineinfile Module Task

Hi @rahul456,

I failed this task with the following message:

- incorrect content found in '/var/www/html/index.html' file on App Server 1

However, when I curled all three app servers, I was able to see the same index.html content for all of them:

Could you please take a look and let me know why I failed this task? I can send you my playbook if you’d like.



@rahul456 @Inderpreet @KodeKloud

I’d appreciate if someone could look into this.

Thank you!

@rahul456 @Inderpreet @mmumshad

I had requested help 4 days ago. Please, and thank you!


Hello, @stevefozer
Can I see your work in “Review” Section? I have to look. Is it still there?

Hello @player001,

I don’t think I moved it into the review section. I had the impression that the community forum was the platform to go to when we thought there was a validation error in the task. Did I misunderstand the concepts? I apologize if I did.

Hello, @stevefozer
Yes, we didn’t deny that we won’t help you. If you’ll share in the “Review” Section. We can see your work if its a validation error or kind of description error then post it here as you already did. At least provide us a chance to see how did you do? Our other members will also help you.

It is no longer letting me do that. The “Request Review” link has disappeared.

Would you like to see my playbook file?