Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Version History

« Previous Version 2 Next »

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.

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.

图片-20250110-031630.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 is changed 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 .

图片-20250110-033118.png
  1. To view detailed result information, click Show Result.

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

图片-20250110-033545.png

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.

图片-20250110-034125.png

Checking Ansible Job Results and Output

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

图片-20250110-034505.png
  1. To view detailed result information, click Show Result.

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

  • No labels