Last active
August 22, 2018 07:55
-
-
Save popstas/61a5ddce08fe1a269f62576808cee54e to your computer and use it in GitHub Desktop.
Install LAMP with ansible from geerlingguy
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo apt-get install -y python-dev python-pip | |
sudo pip install ansible | |
sudo ansible-galaxy install geerlingguy.apache geerlingguy.mysql geerlingguy.php | |
wget https://gist.githubusercontent.com/popstas/61a5ddce08fe1a269f62576808cee54e/raw/de7bceea261f5a76fd88d8673046e5e18be7e35a/lamp.yml | |
ansible-playbook -i 'localhost,' -c local lamp.yml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
- hosts: all | |
become: yes | |
roles: | |
- geerlingguy.apache | |
- geerlingguy.mysql | |
- geerlingguy.php |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment