Skip to content

In this project I use Vagrant and VirtualBox on Windows to create three Ubuntu Linux servers to explore ansible. I then use an Ansible playbook to install a Multi-server LEMP stack with an external and internal network

Notifications You must be signed in to change notification settings

dwatrous/vagrant-ansible-lemp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

vagrant-ansible-lemp

You can view additional details and a detailed write up for this project here: http://software.danielwatrous.com/build-a-multi-server-lemp-stack-using-ansible/

In this project I use Vagrant and VirtualBox on Windows to create three Ubuntu Linux servers to explore ansible. I then use an Ansible playbook to install a Multi-server LEMP stack with an external and internal network

To run this, first prepare your system to use Vagrant based on these instructions: http://software.danielwatrous.com/using-vagrant-to-explore-ansible/

Clone this repository and from a command line run

vagrant up

That will take several minutes but it will result in three new servers running in VirtualBox on your system. You will then want to login to the control box over SSH (watch the vagrant output to know on which port SSH is running). Then cd into the lemp directory inside the vagrant shared directory and run the ansible playbook.

cd /vagrant/lemp
ansible-playbook -i hosts site.yml

Depending on your environment, you may need to uncomment the proxy declarations and identify your proxy environment in the files

control.sh
lemp/group_vars/all

You should be able to view the wall web page

http://127.0.0.1:8080/wall.php or http://[external_ip]/wall.php

About

In this project I use Vagrant and VirtualBox on Windows to create three Ubuntu Linux servers to explore ansible. I then use an Ansible playbook to install a Multi-server LEMP stack with an external and internal network

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published