Publishing a Runbook's Version

Publish a custom runbook's version and make it usable in Fleet Application Management.

You can publish a custom runbook's version only if the runbook is in the draft state and not yet published.
  • The following steps show how to publish latest runbook versions from the fleet details page. You can also publish runbooks from the fleet details page by selecting Actions and then selecting Publish latest version.
    1. On the Runbooks list page, select the runbook that you want to work with. If you need help finding the list page or the runbook, see Listing Runbooks

      The details page opens and displays information about the latest version of the runbook.

    2. On the details page, select the Versions tab.
      All versions of the runbook are displayed in a table.
    3. From the Actions menu (Actions Menu) for the runbook version, select Publish.
      The selected version of the runbook status moves to an updating state and takes a while to become active.
  • Use the oci fleet-apps-management fleet-apps-management-runbooks runbook publish command and required parameters to publish a specified runbook version:

    oci fleet-apps-management fleet-apps-management-runbooks runbook publish --runbook-id <runbook_OCID> --runbook-version-id <runbook_version_OCID> [OPTIONS]

    For a complete list of flags and variable options for Fleet Application Management CLI commands, see the CLI for Fleet Application Management.

  • Run the PublishRunbook operation to publish a specific runbook version.