Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

This section describes how to use the user-defined playbooks and the pre-built playbooks.

Table of Contents

How to Use the User-defined Playbooks

Add/Edit a Playbook

Step 1        Add a playbook.

...

   NOTE: When the playbook is deleted, the related jobs and task results will also be removed.

Save As a Playbook (version control)

Click "Save As" button in the playbook table to create a copy of the current playbook. This function can be used to back up the playbook or to create a different version of the playbook.

The playbook name field will be automatically filled with current playbook name plus with current daytime. User can also rename the new copy playbook.

Export / Import a Playbook

AmpCon supports to export and import a playbook, the following procedure shows how to export or import a playbook:

...

   NOTE: The entered playbook name should be unique.


Run a Playbook

When running Ansible playbooks, AmpCon executes the defined tasks in file playbook.yml on the targeted switches. This section describes how to run the Ansible playbooks.

...

3.   Users can update the latest pre-built playbooks from Gitlab by clicking the button “Update Internal Playbooks” (Github URL: https://github.com/pica8/Ansible/tree/main/playbooks).

How to Use Ansible-Galaxy to download roles / collections and include them in playbook


Ansible-Galaxy Usage Guide.docx