Only install the modules packages on Ubuntu Trusty

This commit is contained in:
Andrea Dell'Amico 2018-08-29 16:23:57 +02:00
parent e3f9ea4803
commit 4e66797358
1 changed files with 3 additions and 1 deletions

View File

@ -7,7 +7,9 @@
- name: Install the apache modules packages - name: Install the apache modules packages
apt: pkg={{ item }} state={{ apache_pkg_state }} update_cache=yes cache_valid_time=3600 apt: pkg={{ item }} state={{ apache_pkg_state }} update_cache=yes cache_valid_time=3600
with_items: '{{ apache_modules_packages }}' with_items: '{{ apache_modules_packages }}'
when: not apache_from_ppa when:
- not apache_from_ppa
- is_trusty
tags: [ 'apache', 'apache_additional_packages' ] tags: [ 'apache', 'apache_additional_packages' ]
# - name: Load the required worker module # - name: Load the required worker module