Code Monkey home page Code Monkey logo

apache's Introduction

Ansible Role: Apache

Installs and configures Apache webserver with PHP, composer & drush for Drupal usage on Debian based OSphp_mailhog_host: mailhog.

Role Variables

Available variables are listed below, along with default values (see defaults/main.yml):

php_version: 7.2
php_mailhog_port: 1025
php_mailhog_port: 1025

drush:
  install_path: "/usr/local/lib/drush"
  version: 8.8
  keep_updated: true
  composer_path: "/usr/local/bin/composer"
  path: "/usr/local/bin/drush"

sites:
  qed42:
    docroot: "/var/www/html/qed42_v2/web"
    server_name: "qed42.d8"
  d8_dev:
    docroot: "/var/www/html/d8_dev/web"
    server_name: "dev.d8"

Feel free to alter the PHP version as per your aplication needs. Sites is an array in case you need to spin up multiple virtual host entries for your local instance(Was developed as a part of ansible container, so the folder paths that we see here are mounted on ansible containers from host machine).

Override sites variable in your playbook to setup vhosts for your project.

apache's People

Contributors

piyuesh23 avatar

Stargazers

 avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.