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 registered

  • serverDecommissioned - Executed after a server is decommissioned or deleted

  • switchRegistered - Executed after a switch is registered

  • switchDecommissioned - Executed after a switch is decommissioned or deleted

  • serverInstanceUpdate - Executed during an instance deployment

  • serverInstanceGroupCreateDNS - Executed when DNS entries are created for servers instance groups

  • serverInstanceGroupUpdateDNS - Executed when DNS entries are updated for servers instance groups

  • serverInstanceGroupDeleteDNS - Executed when DNS entries are deleted for servers instance groups

  • serverInstanceUpdateDNS - Executed when DNS entries are created and updated for server instances

  • serverInstanceDeleteDNS - Executed when DNS entries are deleted for server instances

  • serverCreateDNS - Executed when DNS entries are created for servers’s BMCs

  • serverDeleteDNS - Executed when DNS entries are deleted for servers’s BMCs

  • switchCreateDNS - Executed when DNS entries are created for switch’s Management Interface

  • switchDeleteDNS - 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

Additional resources