Control-M for Ansible AWX
Ansible AWX jobs enable you to manage Ansible playbooks, inventories, and job scheduling.
Control-M for Ansible AWX enables you to do the following:
-
Execute any of the following Ansible AWX job actions:
-
Launch job templates
-
Launch workflow templates
-
Synchronize inventory sources
-
Synchronize projects
-
-
Manage Ansible AWX credentials in a secure connection profile.
-
Connect to any Ansible AWX endpoint.
-
Introduce all Control-M capabilities to Control-M for Ansible AWX, including advanced scheduling criteria, complex dependencies, Resource Pools, Lock Resources, and variables.
-
Integrate Ansible AWX jobs with other Control-M jobs into a single scheduling environment.
-
Monitor the status, results, and output of Ansible AWX jobs.
-
Attach an SLA job to the Ansible AWX jobs.
Setting up Control-M for Ansible AWXLink copied to clipboard
This procedure describes how to deploy the Ansible AWX plug-in, create a connection profile, and define an Ansible AWX job in
Before You Begin
-
Verify that Automation API is installed, as described in Setting Up the API.
-
Verify that Agent version 9.0.21.080 or later is installed.
-
On the Agent host, run one of the following commands to set the Java environment variable:
-
Linux:
-
Bourne shell/bash: export BMC_INST_JAVA_HOME=<java_11_directory>
-
csh/tcsh: setenv BMC_INST_JAVA_HOME <java_11_directory>
-
-
Windows: set BMC_INST_JAVA_HOME="<java_11_directory>"
-
-
Run one of the following API commands:
-
To install, type one of the following provision image commands:
-
Linux: ctm provision image Ansible_AWX_plugin.Linux
-
Windows: ctm provision image Ansible_AWX_plugin.Windows
-
-
To upgrade, type the following command:
ctm provision agent::update
-
-
Create an Ansible AWX connection profile in Control-M SaaS or Automation API, as follows:
-
Control-M SaaS: Create a Centralized Connection Profile with Ansible AWX Connection Profile Parameters
-
Automation API: ConnectionProfile:Ansible AWX
-
-
Define an Ansible AWX job in Control-M SaaS or Automation API, as follows:
-
Control-M SaaS: Create a Job with Ansible AWX Job parameters
-
Automation API: Job:Ansible AWX
-
To remove this plug-in from an Agent, see Removing a Plug-in. The plug-in ID is AWX122024.
Change LogLink copied to clipboard
The following table provides details about changes that were introduced in new versions of this plug-in:
Plug-in Version |
Details |
---|---|
1.0.02 |
Improved handling of Template workflow and run by ID |
1.0.01 |
Improve handling of templates launched with non-unique names in the system |
1.0.00 |
Initial version |