No description
Find a file
Todd Ruch 664c124898
Merge pull request #2 from l3acon/abandon-galaxy
attempt galaxy workaround
2025-06-17 12:56:50 -04:00
.github/workflows initial commit 2024-09-10 17:03:21 -04:00
collections attempt galaxy workaround 2025-06-17 10:39:47 -06:00
.ansible-lint exclude collection path from linting 2025-05-15 14:53:14 -04:00
.gitignore added collections/requirements.yml 2024-10-22 21:49:48 -04:00
.pre-commit-config.yaml initial commit 2024-09-10 17:03:21 -04:00
.yamllint initial commit 2024-09-10 17:03:21 -04:00
ansible.cfg added collections/requirements.yml 2024-10-22 21:49:48 -04:00
install_product_demos.yml removed task for installing git-core 2024-10-22 21:40:49 -04:00
README.md removed note on apd_ee_image_version variable 2025-05-15 10:57:22 -04:00

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 Platform URL of Controller UI
Username 'admin'
Password admin 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 variables:
    • 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.