Skip to content

Ansible role for installing LAMP server (Linux+Apache+MySQL+PHP)

License

Notifications You must be signed in to change notification settings

kharloss/ansible-role-lamp

 
 

Repository files navigation

Ansible Role: LAMP

Build Status Circle CI

Ansible Role that installs and configure LAMP Stack on Debian/Ubuntu.

Requirements

Use hash behavior for variables in ansible.cfg See example: https://github.com/Aplyca/ansible-role-lamp/blob/master/tests/ansible.cfg See official docs: http://docs.ansible.com/intro_configuration.html#hash-behaviour

Installation

Using ansible galaxy:

ansible-galaxy install Aplyca.LAMP

You can add this role as a dependency for other roles, add the role to the meta/main.yml file of your own role:

dependencies:
  - { role: Aplyca.LAMP }

Role Variables

See default variables: https://github.com/Aplyca/ansible-role-lamp/blob/master/defaults/main.yml

Dependencies

Install dependencies using Ansible galaxy

ansible-galaxy install -r roles/requirements.yml

Testing

Use Vagrant to test the role:

tests/vagrant.sh

Use Docker to test the role:

tests/docker.sh

License

MIT / BSD

Author Information

Mauricio Sánchez from Aplyca SAS (http://www.aplyca.com)

About

Ansible role for installing LAMP server (Linux+Apache+MySQL+PHP)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 70.2%
  • ApacheConf 29.8%