2015-07-14 17:43:27 +02:00
|
|
|
---
|
|
|
|
- name: Load the apache ssl modules
|
|
|
|
apache2_module: name={{ item }} state=present
|
|
|
|
with_items: apache_ssl_modules
|
2016-01-15 18:48:51 +01:00
|
|
|
when:
|
|
|
|
- apache_ssl_modules_enabled
|
|
|
|
- is_trusty
|
2015-07-14 17:43:27 +02:00
|
|
|
notify: apache2 reload
|
|
|
|
tags: [ 'apache', 'apache_mods' ]
|
|
|
|
|
|
|
|
- name: Load some apache proxy modules
|
|
|
|
apache2_module: name={{ item }} state=present
|
|
|
|
with_items: apache_http_proxy_modules
|
|
|
|
when: apache_http_proxy_modules_enabled
|
|
|
|
notify: apache2 reload
|
|
|
|
tags: [ 'apache', 'apache_mods' ]
|
|
|
|
|
|
|
|
- name: Load additional apache modules if any
|
|
|
|
apache2_module: name={{ item }} state=present
|
|
|
|
with_items: apache_additional_modules
|
|
|
|
when: apache_additional_modules is defined
|
|
|
|
notify: apache2 reload
|
|
|
|
tags: [ 'apache', 'apache_mods' ]
|