With your Red Hat email address, join the Ansible Tower Demo Slack Team https://ansibletowerdemo.slack.com and go to #tower_notify channel to see notifications from your demo job runs.
- Run Job Template 1 - Project Unicorn-RHEL - Launch AWS RHEL7 Instances needed for Unicorn
- Select Username Inventory when prompted.
- Run Job Template 2 - Project Unicorn-RHEL: Install Apps and Setup Web Servers
- Select Username Inventory when prompted.
- Run Job Template 3 - Project Unicorn-RHEL: Enable SSI on Apache
- Select Username Inventory when prompted.
- Go to Inventory Tab
- Select INVENTORIES / Username INVENTORY / AP-SOUTHEAST-1 / TAGS / TAG_ANSIBLE_GROUP / TAG_ANSIBLE_GROUP_LB
- Copy the IP Address appearing on the right side (under HOSTS)
- Paste the IP Address on a new Browser window and add :8888 at the end
- Click Enter to go HAProxy load-balancer webpage at x.x.x.x:8888
- Refresh Browser window to see Round-Robin load-balancing in effect (note the IP address changing)
- Run Job Template 4 - Project Unicorn-RHEL: Performs a Rolling Update
- Refresh Browser window to check progress of rolling update
- Run Job Template 5 - Project Unicorn-RHEL: Delete all AWS RHEL Instances
- eval "$(ssh-agent -s)"
- ssh-add ~/.ssh/ssh_key_pair.pem
- ansible-playbook aws-launch.yml -e @extra_vars.yml -vvv
- ansible-playbook -i aws_ec2.yml configure.yml -e @extra_vars.yml -vvv
- ansible-playbook -i aws_ec2.yml deploy-app.yml -e @extra_vars.yml -vvv
- ansible-playbook -i aws_ec2.yml enable-ssi.yml -e @extra_vars.yml -vvv
- ansible-playbook -i aws_ec2.yml rolling-update.yml -e @extra_vars.yml -vvv
- ansible-playbook -i aws_ec2.yml aws-delete-all.yml -e @extra_vars.yml -vvv
# aws
ec2_access_key: ChangeMe
ec2_secret_key: ChangeMe
# web servers instance count
ec2_instance_count: 2
# rh subscription manager
rhn_user: ChangeMe
rhn_pass: ChangeMe
# rh insights
display_name: ChangeMe
# web page
repository: ChangeMe