library/roles/apache/tasks/apache.yml: Do not mess with the worker modules.
This commit is contained in:
parent
c61e8fe767
commit
97e71b765a
|
@ -10,19 +10,20 @@
|
||||||
when: apache_additional_packages
|
when: apache_additional_packages
|
||||||
tags: [ 'apache', 'apache_additional_packages' ]
|
tags: [ 'apache', 'apache_additional_packages' ]
|
||||||
|
|
||||||
- name: Load the required worker module
|
# - name: Load the required worker module
|
||||||
apache2_module: name={{ item.name }} state={{ item.state }} force=yes
|
# apache2_module: name={{ item.name }} state={{ item.state }} force=yes
|
||||||
with_items: '{{ apache_worker_modules }}'
|
# with_items: '{{ apache_worker_modules }}'
|
||||||
when: is_trusty
|
# when: is_trusty
|
||||||
notify: apache2 restart
|
# notify: apache2 restart
|
||||||
ignore_errors: True
|
# ignore_errors: True
|
||||||
tags: [ 'apache', 'apache_modules', 'apache_workers_modules' ]
|
# tags: [ 'apache', 'apache_modules', 'apache_workers_modules' ]
|
||||||
|
|
||||||
- name: Load the required modules
|
# - name: Load the required modules
|
||||||
apache2_module: name={{ item }} state=present
|
# apache2_module: name={{ item }} state=present force=yes
|
||||||
with_items: '{{ apache_default_modules }}'
|
# with_items: '{{ apache_default_modules }}'
|
||||||
notify: apache2 reload
|
# notify: apache2 reload
|
||||||
tags: [ 'apache', 'apache_modules' ]
|
# ignore_errors: True
|
||||||
|
# tags: [ 'apache', 'apache_modules' ]
|
||||||
|
|
||||||
- name: Remove the default virtualhost file
|
- name: Remove the default virtualhost file
|
||||||
file: dest=/etc/apache2/sites-enabled/{{ item }} state=absent
|
file: dest=/etc/apache2/sites-enabled/{{ item }} state=absent
|
||||||
|
|
Loading…
Reference in New Issue