Configure Ansible Automation Platform

Prerequisites

  • AAP has been deployed on OpenShift

20240221115730 20240221111734 20240221111755 20240221112012

20240221112251

Optional Install OpenShift Devspaces

  • Configure DevSpaces for Ansible Automation Platform Configuration. Read More

Configure AAP

If you did not install the OpenShift Devspaces Operator, you can configure the AAP manually from your laptop using the ee_definition_config repo.

Requirements install collections

ansible-galaxy collection install  -r collections/requirements.yml 

Edit the secret-vars-microshift-ansible-aws-roles.yml

vim secret-vars-microshift-ansible-aws-roles.yml

Load Execution Environment for Ansible AWS Role

export USERNAME=takinosh
export TAG=latest
ansible-playbook push_to_controller.yaml -e "ee_name_var=ansible-aws-roles" -e "set_ee_registry_dest_var=quay.io/${USERNAME}/ansible-aws-roles:${TAG}"  -e "@secret-vars-microshift-ansible-aws-roles.yml"

20240221125007

Load Execution Environment for edge.microshft collection

export USERNAME=takinosh
export TAG=latest
ansible-playbook push_to_controller.yaml -e "ee_name_var=edge.microshift" -e "set_ee_registry_dest_var=quay.io/${USERNAME}/edge.microshift:${TAG}"  -e "@secret-vars-microshift-ansible-aws-roles.yml"

20240221125202

Configure Controller for Microshift Deployments on AWS

ansible-playbook  microshift-ansible-aws-roles.yaml  -e "@secret-vars-microshift-ansible-aws-roles.yml" -e "@projects/ansible-aws-roles/microshift-ansible-aws-vars.yaml"  -vvv

20240221124855

Configure Automation Hub

Configure Remotes under Collections 20240221131804 Edit the community remote 20240221131831 Update the collections using the items below 20240221131851 20240221141659

---
collections:
  - name: infra.ee_utilities
  - name: awx.awx
  - name: infra.controller_configuration
  - name: infra.ah_configuration
  - name: infra.osbuild
  - name: containers.podman
  - name: redhat_cop.controller_configuration
  - name: amazon.aws
  - name: fedora.linux_system_roles

sync the Community Repository under the Repositories workload 20240221132034 20240221132256 20240221132319 Validate Collections have been populated 20240221141318

Deploy our application on Microshift.

Read More