forked from ISTI-ansible-roles/ansible-roles
22 lines
689 B
YAML
22 lines
689 B
YAML
|
---
|
||
|
- name: Load the apache ssl modules
|
||
|
apache2_module: name={{ item }} state=present
|
||
|
with_items: apache_ssl_modules
|
||
|
when: apache_ssl_modules_enabled
|
||
|
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' ]
|