This ansible playbook will install full Lampstack and latest wordpress on aws ec2 running amzn2.
This ansible playbook is a fork from the following repository:
[gnu]$ git clone git@github.com:beingarju/ansible-amazon-linux-wordpress.git
[gnu]$ cd ansible-amazon-linux-wordpress
- EIP = External IP of your EC2 instance
- KeyPath = private key path.
[webserver]
EIP ansible_port=22 ansible_user='ec2-user' ansible_ssh_private_key_file='KeyPath'
ansible-playbook -i hosts wordpress.yml