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 Development" group. To unsubscribe from this group and stop receiving emails from it, send an email to ansible-devel+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-devel/2c304716-b0ad-4bfb-9505-1a4a74dce974n%40googlegroups.com.