Home

Awesome

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

  1. Login to your Automation Controller as the admin user and click on Projects in the left hand sidebar.
  2. If you have the Demo Project created at installation time:
    1. Click on the Demo Project and edit it.
    2. Change the Source Control URL to https://github.com/ansible/product-demos-bootstrap and save the project.
    3. Make sure the project sync completes.
  3. If you no longer have the Demo Project:
    1. Click the Add button at the top of the Projects menu.
    2. Name the project Product Demos Bootstrap
    3. Choose "git" for the Source Control Type
    4. In the Source Control URL box, use https://github.com/ansible/product-demos-bootstrap as the input and save the project.
    5. Make sure the project sync completes.

Step 3 - Create the Controller Credential

  1. Navigate to the Credentials section in the left hand sidebar.
  2. 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 PlatformURL of Controller UI
Username'admin'
Passwordadmin password

Step 4 - Edit the Demo Job Template

  1. Navigate to the Templates section in the left hand sidebar.
  2. 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.
  3. Click the magnifying glass on the Credentials field, change the dropdown in the top right to Red Hat Ansible Automation Platform and select Controller Credential from the list.
  4. Optional: to use an alternate branch in the Product Demos repo, define the extra variable apd_git_repo_branch: <your-branch>
  5. Save the job template and click Launch

Step 5 - Launch the SETUP Job

  1. Navigate back to the Templates section in the left hand sidebar.
  2. Locate the Product Demos | Single demo setup job template and click the rocket ship icon on the right to launch the job.
  3. 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.