From 4e6679735816daae4d2628ee4e13992691fa32e5 Mon Sep 17 00:00:00 2001 From: Andrea Dell'Amico Date: Wed, 29 Aug 2018 16:23:57 +0200 Subject: [PATCH] Only install the modules packages on Ubuntu Trusty --- apache/tasks/apache.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/apache/tasks/apache.yml b/apache/tasks/apache.yml index 915a3fea..c088f4f8 100644 --- a/apache/tasks/apache.yml +++ b/apache/tasks/apache.yml @@ -7,7 +7,9 @@ - name: Install the apache modules packages apt: pkg={{ item }} state={{ apache_pkg_state }} update_cache=yes cache_valid_time=3600 with_items: '{{ apache_modules_packages }}' - when: not apache_from_ppa + when: + - not apache_from_ppa + - is_trusty tags: [ 'apache', 'apache_additional_packages' ] # - name: Load the required worker module