From cb618fa8fdcf1b8a2a59d4f6a9f2e583bc4fca13 Mon Sep 17 00:00:00 2001 From: Andrea Dell'Amico Date: Fri, 15 Jan 2016 18:48:51 +0100 Subject: [PATCH] dnet-eagle: major cleanup. Now solr is installed by the playbook. Removed the local mongodb server. --- apache/tasks/apache-modules.yml | 4 +++- apache/tasks/apache.yml | 1 + 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/apache/tasks/apache-modules.yml b/apache/tasks/apache-modules.yml index c27953b..daad055 100644 --- a/apache/tasks/apache-modules.yml +++ b/apache/tasks/apache-modules.yml @@ -2,7 +2,9 @@ - name: Load the apache ssl modules apache2_module: name={{ item }} state=present with_items: apache_ssl_modules - when: apache_ssl_modules_enabled + when: + - apache_ssl_modules_enabled + - is_trusty notify: apache2 reload tags: [ 'apache', 'apache_mods' ] diff --git a/apache/tasks/apache.yml b/apache/tasks/apache.yml index f137be6..49bc18b 100644 --- a/apache/tasks/apache.yml +++ b/apache/tasks/apache.yml @@ -7,6 +7,7 @@ - name: Load the required worker module apache2_module: name={{ item.name }} state={{ item.state }} with_items: apache_worker_modules + when: is_trusty notify: apache2 restart tags: [ 'apache', 'apache_modules', 'apache_workers_modules' ]