virhi.apache
Apache
Easy instal and configuration of apache.
Requirements
none
Role Variables
apache_path: by default: /etc/apache2apache_envars_template: by default: envvars.tplws_vhost_path: by default: /etc/apache2/sites-availablews_vhost_path: by default: /etc/apache2/sites-availableapache24_template: by default: vhost24.conf.tplapache22_template: by default: vhost22.conf.tplapache_run_user: by default: www-dataapache_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
