Configure Ansible Automation Platform
Configure Ansible Automation Platform
Prerequisites
- AAP has been deployed on OpenShift
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"
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"
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
Configure Automation Hub
Configure Remotes under Collections
Edit the community remote
Update the collections using the items below
---
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
Validate Collections have been populated