I need to change a configuration value in a file located at the same path in 100 servers. can I do this task by an adhoc Ansible command?
Yes, you can use
replace module for same.
Thank you for the reply!
I looked at both the module examples and see that we need pass in some parameters. Now my task is to replace a valueA of a key in a file with another valueB. I am not sure how to look for a key and replace its value.