Skip to content

A simple LAMP Stack for developers including xDebug and blackfire

License

Notifications You must be signed in to change notification settings

fourforbusiness/ansible-role-dev-lamp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ansible Role: LAMP-Stack for Development

Build Status Ansible-Galaxy License: MIT

Installs a simple LAMP-Stack for development-environments on the target machine.

Installed Software

This role will install a LAMP-Stack along with X-Debug and Blackfire

PHP will run via FPM. PHP can be installed in different Versions (see documentation of geerlingguy.php-versions for more details)

If lamp_prepare_doc_root is set to true the role will create the document root for the project and automatically set rwx-permissions for the user executing ansible and the user executing php-fpm.

Requirements

Ubuntu 16.04

Role Variables

Beside the variables of the dependencies this role has the following vars:

  • project_tag (name of the project, defaults to project_tag_not_set allowed characters AZaz.-_0-9)
    This is used to do the following things by default:
    • mysql root password
    • last part of the www-root for the project
  • www_root (path of the www-root, defaults to /var/www)
  • vhosts_root (path to where the virtual hosts websites files will be stored, defaults to /var/www/vhosts)
  • lamp_prepare_doc_root (if the playbook should create the document root of the current project)

Dependencies

Example Playbook

    ---
    - hosts: all
      become: true
      vars:
        project_tag: "lamp"
      roles:
        - { role: ffb.lamp }

License

MIT / BSD

Author Information

This role was created in 2018 by four for business AG.

About

A simple LAMP Stack for developers including xDebug and blackfire

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published