Set up Ansible as a Day 1 task

task brazil Updated Sep 10, 2026 1 min read setting-up-ansible-as-day-one-task.md
Raw file servicenow.com

Set up the Ansible console as a Day 1 task before running Discovery and deploying job templates via catalog items.

Before you begin

All extra variables must have a variable called deploymentID. The value of this deploymentID is sent from the catalog request.

Select the Prompt on launch option next to the variables section in the template. This action allows you to update or override the default extra_vars with values from the catalog order form when launching the template.

Tag all resources with the deploymentID key to enable Discovery after provisioning.

Role required: admin

Procedure

  1. Save the extra variables in a JSON format locally, to discover and update Configuration Management Database (CMDB).

  2. Create Ansible tower credentials to be used in Ansible Discovery.

    For more information, see Configure Ansible Tower user name and password.

  3. Allow the extra variables and job templates to be overridden.

    The default Ansible job template must be overridden for the pipeline to work with a Cloud Services Catalog Ansible automation catalog item.

Parent Topic:Integrating Ansible with Cloud Services Catalog

Search documentation
Search document titles and file paths on the brazil branch