Bootstrap playbook for adding Ansible Product Demos to an existing Ansible Automation Platform environment.
Presumably you have already completed this step before arriving here, however you need to install Ansible Automation Platform before you continue.
- Login to your Automation Controller as the
admin
user and click on Projects in the left hand sidebar. - If you have the Demo Project created at installation time:
- Click on the Demo Project and edit it.
- Change the Source Control URL to
https://github.com/ansible/product-demos-bootstrap
and save the project. - Make sure the project sync completes.
- If you no longer have the Demo Project:
- Click the Add button at the top of the Projects menu.
- Name the project Product Demos Bootstrap
- Choose "git" for the Source Control Type
- In the Source Control URL box, use
https://github.com/ansible/product-demos-bootstrap
as the input 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
install_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. - Optional variables:
- To use an alternate branch in the Product Demos repo, define the extra variable
apd_git_repo_branch: <your-branch>
- To use the Ansible Automation Platform 2.5 Execution environment, define the extra variable
apd_ee_image_version: 25
- To use an alternate branch in the Product Demos repo, define the extra variable
- Save the job template and click Launch
- Navigate back to the Templates section in the left hand sidebar.
- Locate the Product Demos | Single demo 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.