This
This SyncPack uses the "Ansible Automation" PowerPack.
What Can I Do with this SyncPack?
The "Ansible" SyncPack lets you sync playbook and event data from Ansible Tower and/or Ansible CLI to an SL1 event. You can automate Ansible orchestration and provisioning playbooks, and you can clear an SL1 event when an Ansible Tower or Ansible CLI is successfully provisioned.
This SyncPack includes workflow automations that trigger playbooks in Ansible Tower and/or Ansible CLI. Details of the playbook execution are synchronized back to the SL1 event for data accuracy and consistency across teams.
This SyncPack includes the following applications:
- Ansible Tower Job Status Update. This application updates an associated SL1 event with Ansible Tower job information.
- Call Playbook from Ansible CLI. This application triggers a request to Ansible CLI to provision for data and to access devices.
- Call Playbook from Ansible Tower. This application triggers a request to Ansible Tower to provision for data and to access devices.
- Clear SL1 Events. This application clears SL1 events when an Ansible Tower or Ansible CLI is successfully provisioned.
Contents of this SyncPack
This section lists the contents of the "Ansible" SyncPack.
PowerFlow Applications
- Ansible Tower Job Status Update. This application updates an associated SL1 event with Ansible Tower job information.
- Call Playbook from Ansible CLI. This application triggers a request to Ansible CLI to provision for data and to access devices.
- Call Playbook from Ansible Tower. This application triggers a request to Ansible Tower to provision for data and to access devices.
- Clear SL1 Events. This application clears SL1 events when an Ansible Tower or Ansible CLI is successfully provisioned.
For more information about how to configure these applications, see Configuring Applications for the Ansible SyncPack.
Configuration Object
- Sample Ansible Configuration. This configuration object can be used as a template after the SyncPack is installed on the PowerFlow system. The configuration object includes the following:
- Details for connecting to SL1, including the host, username, and password.
- Details for connecting to Ansible, including the username, password, URL, host name, and host name status.
- Details for connecting to Ansible Tower, including the template ID, credential ID, and inventory ID.
- Details for authentication, including SSH host name, username, password, RSA key, and PEM status.
- Details for connecting to Ansible Playbook.
- Details for populating SL1 events.
Steps
The following steps are included in this SyncPack:
- Ansible Tower Provision
- Update Ansible Job Status to SL1
- Clear SL1 Event
- Create External Ticket
- Create Ansible Host
- Call Ansible Playbook
- Get Ansible Job Status
- Get SL1 Events
- Post Updates to SL1
- Real Job ID
- Update Ansible Job Details to SL1