You’ll run the LearnFest tasks on RHEL instances on AWS. So before starting with AAP you have to stand up the needed instances.
The guide has been tested using a blank AWS environment sandbox Red Hatters can order in RHPDS. But everything should work the same in a regular AWS account with access tho the RHEL 8 marketplace AMIs.
So off to the first tasks: deploy the needed RHEL instances into an AWS account. And as a warm-up you’ll use Ansible for this (we have prepared the Playbook for you). If this your first encounter with Execution Environments and
ansible-navigator; just enjoy, you’ll learn more about all this later.
Access Key IDand a
Secret Access Keyfor your AWS account, Red Hatters will find this in the confirmation email from RHPDS
ansible-navigatormachine: Clone https://github.com/ansible-learnfest/playbooks-infra.git and change into the new directory.
instance_name:) of the instances if you want
~/.ssh/id_rsa.pubby default, if this key doesn’t exist or you want to use another key, change
ansible-navigator run cloud-infra.yml
ansible-navigator know which execution environment to use? Have a look at the
ansible-navigator.yml config file…
ssh -i "~/.ssh/id_rsa" email@example.com
ansible-navigator run cloud-infra.yml -e remove=true