From 97e71b765a01d548fe939eb694ddd2b5be8c3cae Mon Sep 17 00:00:00 2001 From: Andrea Dell'Amico Date: Thu, 2 Feb 2017 14:55:40 +0100 Subject: [PATCH] library/roles/apache/tasks/apache.yml: Do not mess with the worker modules. --- apache/tasks/apache.yml | 25 +++++++++++++------------ 1 file changed, 13 insertions(+), 12 deletions(-) diff --git a/apache/tasks/apache.yml b/apache/tasks/apache.yml index ffeaaed3..6e27018c 100644 --- a/apache/tasks/apache.yml +++ b/apache/tasks/apache.yml @@ -10,19 +10,20 @@ when: apache_additional_packages tags: [ 'apache', 'apache_additional_packages' ] -- name: Load the required worker module - apache2_module: name={{ item.name }} state={{ item.state }} force=yes - with_items: '{{ apache_worker_modules }}' - when: is_trusty - notify: apache2 restart - ignore_errors: True - tags: [ 'apache', 'apache_modules', 'apache_workers_modules' ] +# - name: Load the required worker module +# apache2_module: name={{ item.name }} state={{ item.state }} force=yes +# with_items: '{{ apache_worker_modules }}' +# when: is_trusty +# notify: apache2 restart +# ignore_errors: True +# tags: [ 'apache', 'apache_modules', 'apache_workers_modules' ] -- name: Load the required modules - apache2_module: name={{ item }} state=present - with_items: '{{ apache_default_modules }}' - notify: apache2 reload - tags: [ 'apache', 'apache_modules' ] +# - name: Load the required modules +# apache2_module: name={{ item }} state=present force=yes +# with_items: '{{ apache_default_modules }}' +# notify: apache2 reload +# ignore_errors: True +# tags: [ 'apache', 'apache_modules' ] - name: Remove the default virtualhost file file: dest=/etc/apache2/sites-enabled/{{ item }} state=absent