Workflow extensions¶
Since 7.0
In 7.0 This new mechanism replaces the old workflow system in 6.4. This new version allows the admin to execute custom code or ansible when other significant events occour not just pre-and post deploy.
Refer to Managing extensions for more details on how to register and publish an extension.
Supported workflow stages¶
The following values are accepted as events (stages
) that trigger the execution of the attached tasks.
serverRegistered
- Executed after a server is registeredserverDecommissioned
- Executed after a server is decommissioned or deletedswitchRegistered
- Executed after a switch is registeredswitchDecommissioned
- Executed after a switch is decommissioned or deletedserverInstanceUpdate
- Executed during an instance deploymentserverInstanceGroupCreateDNS
- Executed when DNS entries are created for servers instance groupsserverInstanceGroupUpdateDNS
- Executed when DNS entries are updated for servers instance groupsserverInstanceGroupDeleteDNS
- Executed when DNS entries are deleted for servers instance groupsserverInstanceUpdateDNS
- Executed when DNS entries are created and updated for server instancesserverInstanceDeleteDNS
- Executed when DNS entries are deleted for server instancesserverCreateDNS
- Executed when DNS entries are created for servers’s BMCsserverDeleteDNS
- Executed when DNS entries are deleted for servers’s BMCsswitchCreateDNS
- Executed when DNS entries are created for switch’s Management InterfaceswitchDeleteDNS
- Executed when DNS entries are deleted for switch’s Management Interface
Supported task types¶
The following are task types that can be used:
Examples¶
The following example includes everything including the ansible bundles