Ansible Tower Playbook Samples
Presumably you have already completed this step before arriving here, however the installation of Automation Controller needs to be completed before you continue.
- Login to your Automation Controller as the
admin
user and click on Project in the left hand sidebar. - Click on the Demo Project and edit it. Change the Source Control URL to
https://github.com/RedHatGov/ansible-tower-samples
and save the project. - Make sure the project sync completes.
- Navigate to the Credentials section in the left hand sidebar.
- Click the Add button at the top of the screen and use the following values to create your credential.
Name | 'Controller Credential' |
Organization | 'Default' |
Credential Type | 'Red Hat Ansible Automation Platform' |
Red Hat Ansible Automation Platform | URL of Controller UI |
Username | 'admin' |
Password | admin password |
- Navigate to the Templates section in the left hand sidebar.
- Click on the Demo Job Template and edit it. Change the playbook field to
product_demos.yml
. If you do not see this option, go back to step 2 and ensure your project is configured and synced properly. - Click the magnifying glass on the Credentials field, change the dropdown in the top right to
Red Hat Ansible Automation Platform
and selectController Credential
from the list. - Save the job template and click Launch
Customization: If you have customized the product-demos project, now would be the time to update the source URL for your project.
- Navigate back to the Templates section in the left hand sidebar.
- Locate the SETUP job template and click the rocket ship icon on the right to launch the job.
- Select the use case from the dropdown that you are interested in and continue.
You have now completed the setup. Refer to ansible/product-demos for further documentation.
Privacy statement | Terms of use | Security disclosure | All policies and guidelines