sys_fs.apache

sys_fs.apache

This role installs and sets up Apache 2.x from the sury.org repository on Debian and Ubuntu systems. The sury.org repository is not used on Debian 8 because it's not supported there.

Requirements

You need at least Ansible version 2.6 for this role. Older versions might work but are not supported.

Role Variables

apache_http_port: 80
apache_https_port: 443

These are the ports that Apache will listen to.

apache_disable_modules: []

This is a list of modules you want to disable, which can be used with the a2dismod command.

apache_enable_modules: []

This is a list of modules you want to enable, which can be used with the a2enmod command.

apache_http_vhosts:
  - server_name: example.com
apache_https_vhosts: []

These are the virtual hosts to create. More documentation will come once the template is ready.

Example Playbook

- hosts: web
  vars:
    - apache_disable_modules:
        - mpm_prefork
    - apache_enable_modules:
        - mpm_event
  roles:
    - sys_fs.apache

License

MIT

Informazioni sul progetto

Install and configure Apache 2.x on Debian and Ubuntu.

Installa
ansible-galaxy install sys_fs.apache
Licenza
mit
Download
381
Proprietario