Skip to content

Ansible playbooks for installing LEMP stack on a new server instance.

Notifications You must be signed in to change notification settings

artithw/Ansible-LEMP

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ansible Playbooks - LEMP Stack

By Josh Lapham [josh@joshlapham.com]

License: Beerware

What This Is

Ansible playbooks for provisioning a new Debian server instance with LEMP stack (nginx, MySQL, PHP5).

Working with Debian 8 "Jessie".

How to Use

  1. Install Ansible on your local machine
  2. Generate an SSH public key on your local machine: ssh-keygen
  3. Copy SSH public key to authorized keys file on remote server instance: ~/.ssh/authorized_keys
  4. Update config/staging file with correct username and host
  5. Test that setup is working: ansible -m ping all

Start Provisioning

Once setup has been tested and verified working, start main playbook:

ansible-playbook -s provision.yml -i config/staging

About

Ansible playbooks for installing LEMP stack on a new server instance.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • PHP 100.0%