Integrating Ansible with Cloud Services Catalog
Integrate Ansible with Cloud Services Catalog as a Day 1 activity. With this activity, you can deploy an Ansible job template via a ServiceNow catalog item.
As a cloud_service_user, you can access the config provider and job templates and deploy a job template through a catalog item.
| Day 0 support | Day 1 support | Day 2 support |
|---|---|---|
| 1. Retrieve the resources from the cloud and update the CMDB 2. Verify that there are no errors. If errors are displayed, then the Discovery or job template deployment has failed | 1. Order an Ansible job template from Service Catalog 2. Reference the discovered Microsoft Azure pipelines that are specific to Ansible 3. Select inputs that are needed for the release deployment pipeline 4. Submit a catalog 5. Publish an Out Of Box catalog item as Cloud Services Catalog content 6. Select the job templates that you have access to and deploy them | 1. Fix the mapping of Out Of Box via Cloud Services Catalog content 2. Update documentation on limiting the job template to run on a specific host 3. Test and document how to support the job template deployment on unmanaged nodes 4. Start your Day 2 support for Ansible AWX |
| Store in CMDB as referrable objects. | 1. Wait for the order approval 2. Track the progress of your template order 3. Update CMDB with the deployed resources | 1. Ensure all the Day 2 support actions execute successfully 2. Switch between the blue \(current application\) and green \(new application\) environment |
- Set up Ansible as a Day 1 task
Set up the Ansible console as a Day 1 task before you run Discovery and deploy a job template via a ServiceNow catalog item by using the Cloud Services Catalog application. - Run Discovery on the Ansible config provider
Add the Ansible config provider and run Discovery to discover what's in the inventory, the host group, and the available job templates. - Order an Ansible job template
Use Cloud Services Catalog to order an Ansible job template called from the catalog item.
Parent Topic:Configuring Cloud Services Catalog