Hello All,
Need some help with yaml file
I am trying to run find command to fetch old IP address from multiple files
in /etc directory and replace them with new IP address as follows
sudo find /etc -type f -exec sed -i -e 's/10.1.3.51/10.2.3.54/g' {} +
I can accomplish this using the command but how do I do it using yaml file
as i need to run it on multiple servers.
Please help and thanks in advance.
--
You received this message because you are subscribed to the Google Groups
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/ansible-project/e3f6181a-4bd0-4a9b-b264-1b1526bfaa23n%40googlegroups.com.