Need help with yaml

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 can create a task just like that:

Thank you …