Managing playbooks

Manage the playbooks in your environment and monitor playbook runs.

View playbooks

  1. From the Main menu, go to Automate > Overview.

    The Automate Overview page appears with the Playbooks tab open in the Playbooks section.

  2. (Optional) Use the following search and filter options to find specific playbooks if the list of playbooks is long. The list shows only the playbooks that match all the filters and search text that you specify.
    Table 1. Playbooks search and filter options

    Option

    Description

    Search by text

    Enter an alphanumeric string in the Filter items field to match text in the Playbook Name column.

    Filter by playbooks with scheduled runs

    For the Schedules toggle, select All to show all playbooks, select Yes to show only playbooks with scheduled runs, or select No to show only playbooks with no scheduled runs.

    Filter by playbooks with disabled schedules

    For the Disabled Schedules toggle, select All to show all playbooks, select Yes to show only playbooks with at least 1 disabled schedule, or select No to show only playbooks with all enabled schedules, or no schedules.

    Filter by field

    Expand Filterscaret-right and specify any additional filters. You can filter by Playbook Name and Author.

  3. Expand any playbook to view basic details for the playbook.
  4. Click a Playbook Name to open that playbook. You can then perform the following tasks:
    Table 2. Playbook tasks

    Task

    Description

    View steps

    The Steps section shows the steps of the playbook in sequential order. Expand any step to view details for the step.

    View run history

    Click the Run History tab to view active and completed runs for the playbook.

    Enter an alphanumeric string in the Filter items field to match text in the Status and Started By columns.

    To view details for a run, click the date in the Run Started column.

    View playbook schedules

    Click the Schedules tab to view all schedules associated with the playbook. The number reflects the total count of schedules for this playbook.

    Enter an alphanumeric string in the Filter items field to match text in the Status and Scheduled By columns.

    To view details for a run, click the date in the Run Started column.

    Edit playbook schedule

    From the Schedules tab, click Actions options-blue then click Edit. For more information, see Edit or clone a playbook schedule.

    Clone playbook schedule

    From the Schedules tab, click Actions options-blue then click Clone. For more information, see Edit or clone a playbook schedule.

    Disable an enabled playbook schedule

    From the Schedules tab, click Actions options-blue then click Disable. For more information, see Disable or delete a playbook schedule.

    Enable a disabled playbook schedule

    From the Schedules tab, click Actions options-blue then click Enable. For more information, see Enable a disabled playbook schedule.

    Delete playbook schedule

    From the Schedules tab, click Actions options-blue then click Delete. For more information, see Disable or delete a playbook schedule.

    View triggers

    Click the Triggers tab to view all triggers associated with the playbook and their enabled or disabled state. For more information, see Trigger playbook runs.

    Edit trigger

    From the Triggers tab, click Actions options-blue then click Edit. If the trigger is disabled, an Enabled toggle appears at the top of the edit form so you can re-enable it directly from the edit view. For more information, see Edit or clone a playbook trigger.

    Clone trigger

    From the Triggers tab, click Actions options-blue then click Clone. For more information, see Edit or clone a playbook trigger.

    Enable a disabled playbook trigger

    From the Triggers tab, click Actions options-blue then click Enable. For more information, see Enable a disabled playbook trigger.

    Disable an enabled playbook trigger

    From the Triggers tab, click Actions options-blue then click Disable. For more information, see Disable or delete a playbook trigger.

    Delete playbook trigger

    From the Triggers tab, click Actions options-blue then click Delete. For more information, see Disable or delete a playbook trigger.

    Start playbook run

    Click Start to run the playbook. The option to start a playbook run is enabled only if you have permissions to run the playbook. For more information, see Running playbooks.

    Edit playbook

    Click Edit. The option to edit the playbook is enabled only if you have the Automate Playbook write permission on the playbook content set. For more information, see Edit a playbook.

    Schedule playbook runs

    Click Actions and select Schedule. For more information, see Schedule playbook runs.

    Clone playbook

    Click Actions and select Clone. For more information, see Clone a playbook.

    Export playbook

    Click Actions and select Export. For more information, see Export and import playbooks.

    Delete playbook

    Click Actions and select Delete. For more information, see Delete a playbook.

  5. (Optional) If the source package used by a step is updated or deleted, a warning banner stating the package is out of sync with its source appears above the Steps section. Click Review Step N to open that step for editing. For more information, see Troubleshoot a package that is out of sync with its source.

View playbook run

You can view details for playbook runs that ended in the last 30 days, as well as runs that are still in progress. The following icons signify playbook run status:

  • check-solid - The playbook run completed all steps without any errors.

  • sev-medium - The playbook run is waiting for a manual user confirmation, such as at the Manual Instruction or Require User Confirmation step.

  • sev-high - The playbook run returned an error and ended.

  • inactive-black - The playbook run ended before completing all steps, but did not return an error, such as when a user manually ends a playbook run.

  1. Choose from the following:

    View runs from all playbooks

    1. From the Main menu, go to Automate > Overview. Go to the Playbook Runs tab.
    2. (Optional) Use the following search and filter options to find a specific playbook run if the list is long. The list shows only the playbook runs that match all the filters and search text that you specify.
      Table 3. Playbook runs search and filter options

      Option

      Description

      Search by text

      Enter an alphanumeric string in the Filter items field to match text in the Playbook Name column.

      Filter by playbooks with runs

      For the Scheduled toggle, select All to show all playbook runs, select Yes to show only scheduled runs, or select No to show only unscheduled playbook runs.

      Filter by playbook status

      For the Ended toggle, select All to show all playbook runs, select Yes to show only runs that ended, or select No to show only runs that are in progress.

      Filter by date

      For the Date Range toggle, select All to show all playbook runs, or select Last 7 Days to show all playbook runs that started within the prior 7 days.

      Filter by field

      Expand Filterscaret-right and specify any additional filters. You can filter by Status, Playbook Name, and Initiator.

    3. Click the Playbook Name of the run that you want to view.

    View runs from a single playbook

    1. From the Main menu, go to Automate > Overview. Go to the Playbooks tab.
    2. Click the Playbook Name to open playbook details.
    3. Go to the Run History tab and click the value in the Run Started column for the run that you want to view.
  2. Review the Time Remaining for the active step. The time remaining depends on the step type and whether verification is enabled:
    • Steps without verification enabled: The Time Remaining matches the Step Duration configured for the step.
    • Steps with verification enabled (such as Deploy Software and Install Patch): The Time Remaining is the Step Duration plus up to an additional 10 minutes for verification.
    • Deploy Action steps with verification enabled: The Time Remaining is the total of Step Duration, package verify timeouts (if configured), and up to an additional 10 minutes for verification.
    • Deploy Action steps with action approval enabled: The Time Remaining does not appear until the action is approved. After approval, it follows the same rules as Deploy Action steps (with or without verification).
  3. Expand caret-right any step to view details for the step or click Expand All to expand all steps in the playbook run.
  4. (Optional) If a playbook run step potentially acted on endpoints, such as Deploy Action or Install Patch, you can view more information on targeted endpoints.
    • To view details on the Question Results page, click the Results horizontal stacked bar chart and then click View Current Results. For more information, see Analyzing question results in Interact. automate_results_pivot

      Note: The total number of endpoints on the Question Results page might be different from the total number of endpoints listed in the step results. The step results reflect the endpoint count at the time that the step ended. If endpoints go offline, the Question Results page does not show these endpoints.
    • To view details about a Patch deployment, click View in Patch.

  5. If a playbook run step deployed a simple action, such as Deploy Action, you can pivot to the Action Status page to view information about the simple action. Click Action History action_history. For more information, see View status for simple actions.
  6. (Optional) If the run is in progress and has an active manual step, expand the step to view and complete any instructions. When finished, add any comments and complete the step:
    • For Manual Instruction steps, click Mark Complete.
    • For Require User Confirmation steps, click Continue to continue to the next step, or End to end the playbook run.