This is a Ansible Playbook to deploy a LAMP Stack infrastructure on ubuntu/debian hosts.
- apache2
- mysql
- php7.0-fpm
You must have Ansible 2.3 installed.
- Add host in /etc/ansible/hosts file. See the given hosts file to add hosts.
- Run command
sudo ansible-playbook lamp-playbook.yml
- USERNAME: root
- PASSWORD: [update the variable "mysql_root_password" in lamp-playbook.yml]