By Josh Lapham [[email protected]]
License: Beerware
Ansible playbooks for provisioning a new Debian server instance with LEMP stack (nginx, MySQL, PHP5).
Working with Debian 8 "Jessie".
- Install Ansible on your local machine
- Generate an SSH public key on your local machine:
ssh-keygen
- Copy SSH public key to authorized keys file on remote server instance:
~/.ssh/authorized_keys
- Update
config/staging
file with correct username and host - Test that setup is working:
ansible -m ping all
Once setup has been tested and verified working, start main playbook:
ansible-playbook -s provision.yml -i config/staging