Skip to content

Commit d882739

Browse files
committed
Added a requirements.txt file to lamp-infrastructure example.
1 parent 19f3eb2 commit d882739

File tree

2 files changed

+17
-0
lines changed

2 files changed

+17
-0
lines changed

lamp-infrastructure/README.md

+8
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,14 @@ This architecture offers multiple levels of caching and high availability/redund
3030

3131
For the purpose of demonstration, Varnish's caching is completely disabled, so you can refresh and see both Apache servers (with caching enabled, Varnish would cache the first response then keep serving it without hitting the rest of the stack). You can see the caching and load balancing configuration in `playbooks/varnish/templates/default.vcl`).
3232

33+
## Prerequisites
34+
35+
Before you can run any of these playbooks, you will need to [install Ansible](http://docs.ansible.com/intro_installation.html), and run the following command to download dependencies (from within the same directory as this README file):
36+
37+
$ ansible-galaxy install -r requirements.txt
38+
39+
If you would like to build the infrastructure locally, you will also need to install the latest versions of [VirtualBox](https://www.virtualbox.org/wiki/Downloads) and [Vagrant](https://www.vagrantup.com/downloads.html).
40+
3341
## Build and configure the servers (Local)
3442

3543
To build the VMs and configure them using Ansible, follow these steps (both from within this directory):

lamp-infrastructure/requirements.txt

+9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
geerlingguy.firewall
2+
geerlingguy.repo-epel
3+
geerlingguy.varnish
4+
geerlingguy.apache
5+
geerlingguy.php
6+
geerlingguy.php-mysql
7+
geerlingguy.php-memcached
8+
geerlingguy.mysql
9+
geerlingguy.memcached

0 commit comments

Comments
 (0)