mirror of
https://github.com/ansible/product-demos-bootstrap
synced 2026-04-05 19:30:42 +00:00
No description
|
|
||
|---|---|---|
| .github/workflows | ||
| collections | ||
| .ansible-lint | ||
| .gitignore | ||
| .pre-commit-config.yaml | ||
| .yamllint | ||
| ansible.cfg | ||
| install_product_demos.yml | ||
| README.md | ||
product-demos-bootstrap
Bootstrap playbook for adding Ansible Product Demos to an existing Ansible Automation Platform environment.
Using this Repo
Step 1 - Install Ansible Automation Platform
Presumably you have already completed this step before arriving here, however you need to install Ansible Automation Platform before you continue.
Step 2 - Edit the Demo Project
- Login to your Automation Controller as the
adminuser 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-bootstrapand 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-bootstrapas the input and save the project. - Make sure the project sync completes.
Step 3 - Create the Controller Credential
- 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 |
Step 4 - Edit the Demo Job Template
- 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 Platformand selectController Credentialfrom 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 an alternate branch in the Product Demos repo, define the extra variable
- Save the job template and click Launch
Step 5 - Launch the SETUP Job
- 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.