You can install LAMP Stack on Ubuntu 16.04 using this repository.
Clone the repository with:
sudo git clone git@github.com:ajinkyawadekar/ansible-lampstack.gitIf you dont have ansible installed then, run script.sh directly to install ansible and run the playbook
sudo ./script.shIf you have ansible alreay installed then run:
sudo ansible-playbook install-lampstack.ymlBy default the playbook will deploy Stack on localhost. If you want to deploy stack on multiple nodes then edit the hosts file.