- Install Terraform on the local machine
- Use test_aws.tf to create new host on AWS (with security groups)
- Install Ansible on the local machine
- Place test_host.txt and test_aws.yml into the working directory a. after successfully terraform deploying into AWS, edit file host.txt (place new server public IP)
- Run playbook
After successfully deploy? check the results on page "http://AWS_PUBLIC_INSTANCE_IP:9000/ping"