ansible-role-apache/lamp_simple
2013-11-26 19:35:50 -08:00
..
group_vars Fix #40 -- test to see if selinux is enabled before running seboolean. 2013-11-26 19:35:50 -08:00
roles Fix #40 -- test to see if selinux is enabled before running seboolean. 2013-11-26 19:35:50 -08:00
hosts latest 2013-03-12 22:03:13 +05:30
LICENSE.md add CC licenses to AnsibleWorks-contributed examples 2013-10-03 17:44:59 -07:00
README.md Port to 1.2 variable syntax and real roles, minor best-practice updates 2013-05-20 16:45:26 -07:00
site.yml Port to 1.2 variable syntax and real roles, minor best-practice updates 2013-05-20 16:45:26 -07:00

Building a simple LAMP stack and deploying Application using Ansible Playbooks.

These playbooks require Ansible 1.2.

These playbooks are meant to be a reference and starter's guide to building Ansible Playbooks. These playbooks were tested on CentOS 6.x so we recommend that you use CentOS or RHEL to test these modules.

This LAMP stack can be on a single node or multiple nodes. The inventory file 'hosts' defines the nodes in which the stacks should be configured.

    [webservers]
    localhost

    [dbservers]
    bensible

Here the webserver would be configured on the local host and the dbserver on a server called "bensible". The stack can be deployed using the following command:

    ansible-playbook -i hosts site.yml

Once done, you can check the results by browsing to http://localhost/index.php. You should see a simple test page and a list of databases retrieved from the database server.