This role "aac" is designed to create an Ansible Automation Controller on AWS EC2 for demo purpose.
Basically, the role assumes to setup an Ansible Automation Controller using Red Hat Cloud Access Gold Images on AWS EC2.
The tested environment:
- RHEL-9.2.0_HVM-20230615-x86_64-3-Access2-GP2
- Ansible Automation Platform 2.4
A Red Hat Account and related Red Hat Ansible Automation Platform Subscription are requird, because you need to supply a manifest file linked to the subscription.
Also, Ansible Automation Platform's setup file need to be downloaded from "Download Red Hat Ansible Automation Platform" beforehand.
var/main.yml includes the following pre-set variables. You should change them adequately.
- aac_local_installer_path
- aac_installer_dest_path
- aac_local_manifest_path
- aac_manifest_path
Also, the following variables should be supplied when using the role. In this project, upper playbooks are supposed to set these variables.
- rhsm_username
- rhsm_passwd
- aac_private_dns_name
- aac_admin_passwd
- aac_pg_passwd
The following collections need to be installed beforehand. You can install those collections by using requirements.yml located in the project top directry.
- awx.awx
- redhat.rhel_system_roles
- name: Configure AAC server
hosts: aac
become: true
gather_facts: true
vars:
aac_private_dns_name: "private dns name of aac"
vars_prompt:
- name: rhsm_username
prompt: "What is your Red Hat login name?"
private: false
- name: rhsm_passwd
prompt: "What is your Red Hat login password?"
- name: aac_admin_passwd
prompt: "Enter your AAC admin password"
- name: aac_pg_passwd
prompt: "Enter your PostgreSQL password for AAC"
roles:
- aac
MIT
Yukiya Shimizu https://github.com/yukshimizu