Playbooks provide the ability to update or replace a module in multiple playbooks. Following are the options provided:
- Module (Replace With)
- Update (Module Definition)
- Update to this in other playbooks (Module Definition)
- Replace with this in other playbooks (Module Definition)
Playbooks allow you to replace a module with another module in multiple playbooks by remapping the parameters if all parameters are the same.
To replace a module:
- Go to My Library > Playbooks.
- Open a playbook in Advanced Mode.
- To the existing module in the playbook, click + on the Module node > Replace With > Module.
The Automation Library opens up.
Search or browse for the module to be replaced. Click + on the module to enter the module parameters.
Click Replace. A Successfully replaced module message appears on the top-right corner.
Playbooks allow module update to the latest available version. In the module node, you can either click on the arrow indicating to update to the latest version or click on the + > Module Definition > Update.
The Module Parameters form opens up to update the version. Enter the details for the new version and click Save.
A Module Updated Successfully message appears on the top-right corner.
This option allows you to update the module in other playbooks. This option is useful when the user has multiple playbooks and has the same module in all the playbooks, the user can update the module to a higher version at once by selecting this option.
- Click + on the module > Module Definition > Update to this other playbooks.
A confirmation window opens up to upgrade the module in other playbooks.
Select the required instances or select all instances and click Update.
This option allows you to replace the module in other playbooks. This option is useful if the user wants to replace the current module in all other playbooks.
Click + on the module > Module Definition > Replace with this in other playbooks.
A pop-up window opens up to choose the module to be replaced.
Select the module from the drop-down list and click Next.
The drop-down displays a list of modules that are on the Automations > Modules page.
A confirmation window opens up to replace the selected module and its associated instances with the current module.
Select the required instances or select all instances and click Replace.
After you click Replace, a successful message appears that the modules are replaced.
Updated 4 months ago