I am a beginner in terraform and ansible. I am following the linuxacademy course to deploy a wordpress website using terraform and ansible in an aws enviroment.
Check python and yum is installed and tested running ok but not sure why the error message ? Please help if any kind soul able to knows what is the issue here.
Appreciate it and thanks !
I am a beginner in terraform and ansible. I am following the linuxacademy course to deploy a wordpress website using terraform and ansible in an aws enviroment.
Course reference : https://github.com/linuxacademy/terransible/tree/master/course_scripts
My setup: OS version : Ubuntu Server 16.04 ansible version : 2.4.2.0 python version 2.7.12
After went through alot of troubleshooting, I am able to run terraform apply successfully.
When i run ansible-playbook -i aws_hosts wordpress.yml, i encounter this error
Here is my wordpress.yml config file
Here is my main.tf attached main.tf.txt
Check python and yum is installed and tested running ok but not sure why the error message ? Please help if any kind soul able to knows what is the issue here. Appreciate it and thanks !