virhi.apache

Apache

Easy instal and configuration of apache.

Requirements

none

Role Variables

  1. apache_path: by default: /etc/apache2

  2. apache_envars_template: by default: envvars.tpl

  3. ws_vhost_path: by default: /etc/apache2/sites-available

  4. ws_vhost_path: by default: /etc/apache2/sites-available

  5. apache24_template: by default: vhost24.conf.tpl

  6. apache22_template: by default: vhost22.conf.tpl

  7. apache_run_user: by default: www-data

  8. apache_run_group: by default: www-data

Dependencies

none

Example Playbook

Including an example of how to use your role (for instance, with variables passed in as parameters) is always nice for users too:

- hosts: servers
  roles:
   - {
    role: virhi.apache,
    apache24_template: template.tpl,
    apache22_template: template.tpl,
    ws_vhost_env: dev,
    servername: dev.vansible.local,
    doc_root: /vagrant/project/web,
    directory_index: app_dev.php
  }

License

MIT

Author Information

http://github.com/virhi

About

Apache 2.x for Debian/Ubuntu.

Install
ansible-galaxy install virhi.apache
GitHub repository
License
mit
Downloads
162
Owner
Software engineer @lafourchette