I am new to using Cloudforms and have been going over the Mastering Cloudforms Automation book. I have been able to create a few workflows succesfully since starting to look into it last month.
My question is a lot of my workflows are going to be “copy and paste” but only modifying a few fields, The method will connect to a Windows server using winrm and kick off a script.
The only thing that would change in the method are:
-Importing the inputs from the dialog
-The script with the arguments to kick off.
Is there a way to have a “Master Method” that can do this? This would also help because if i had multiple methods, i would have to set the username and password for each that is used to connect to the server using winrm