Versions Compared

Key

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

Ansible jobs means Ansible playbook execution jobs. On the “Ansible Jobs List” page, you can view the list of Ansible jobs and the list of switches with Ansible jobs. You can also check the execution results and output of these jobs.

Table of Contents
stylenone

Job View

Viewing Ansible Jobs

Click Maintain > Automation > Ansible Jobs List in the AmpCon-Campus UI. In the Job View tab, you can see the list of playbook execution jobs.

251.png

The Schedule Type column including the following types:

  • DIRECT

Playbooks are executed with "Run Now".

  • ONCE

Playbooks are executed with "One Time".

  • SCHEDULED

Playbooks are executed with "Scheduled".

The Status column includes the following status:

  • IDLE

The playbook has not been executed. For example, after a playbook is created and before it’s executed, the status is IDLE.

Note: For Playbooks with the schedule type of "SCHEDULED", the status ischanged to IDLE after the playbook execution is completed.

  • RUNNING

The playbook is currently running.

  • EXECUTED

The playbook execution has been completed.

Checking Ansible Job Results and Output

  1. In the Job View tab, locate a job, and then click Task Results. You can see the playbook execution result in the Result Table tab .

252.pngImage Removed252.pngImage Added
  1. To view detailed result information, click Show Result.

  2. To view the output of the playbook execution, click the Result Output tab.

253.pngImage Removed253.pngImage Added

Removing an Ansible Job

  1. In the Job View tab, locate a job, and then click Remove.

  2. Click Yes to confirm the deletion.

Switch View

Viewing Switches with Ansible Jobs

In the Switch View tab, you can see the list of switches that have playbook execution jobs.

254.png

Checking Ansible Job Results and Output

  1. In the Switch View tab, locate a switch, and then click Task Results.

255.pngImage Removed255.pngImage Added
  1. To view detailed result information, click Show Result.

  2. To view the output of the playbook execution, click the Result Output tab.