Select nearest region and deploy
[defaults]
stdout_callback = yaml
connection = smart
timeout = 60
deprecation_warnings = False
host_key_checking = False
retry_files_enabled = False
# Update student1 to student2 etc. if needed
inventory = /home/student1/lab_inventory/hosts
You need to make changes to ansible.cfg file if the studentid given is not student1. This can happen if you did not deploy the RHPDS demo yourself.
# tower credential
towuser: admin
towpass: ansible
# managed nodes credential
machinesshuser: student1
machinesshpass: ansible
# insights scm credential
rhnuser: ChangeMe
rhnpass: ChangeMe
# student number given by rhpds for ssh
studentid: student1
# to unique identify managed host for each deployment
# country: anz
# country: ind
# country: sgp
country: aotdemo
$ ansible-vault encrypt extra_vars.yml
$ ansible-playbook setup-aotdemo-tower.yml -e @extra_vars.yml --ask-vault-pass -v