Do not install the worker packages on Ubuntu 18.04+

This commit is contained in:
Andrea Dell'Amico 2021-10-12 16:21:48 +02:00
parent 92ad77c82b
commit 05f43fe4db
Signed by: adellam
GPG Key ID: 147ABE6CEB9E20FF
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={{ apache_modules_packages }} state={{ apache_pkg_state }} cache_valid_time=3600 apt: pkg={{ apache_modules_packages }} state={{ apache_pkg_state }} cache_valid_time=3600
when: not apache_from_ppa when:
- not apache_from_ppa
- when: ansible_distribution_version is version_compare('16.04', '<=')
tags: [ 'apache', 'apache_additional_packages' ] tags: [ 'apache', 'apache_additional_packages' ]
- name: Install the apache additional packages, if any - name: Install the apache additional packages, if any