Playbook
I am trying to chnage some test in a property file using “lineinfile” module. I am getting the below exception.
On my host, there is a sudo user (testuser). sudo method is “sudo su - testuser”
You're trying to change the ownership of a file to root, you need to be root to do that
Cheers
Malcolm