Install packages for Stretch and later

This commit is contained in:
Jérémy Lecour 2017-07-11 18:40:05 +02:00 committed by Jérémy Lecour
parent 12b5d9a97a
commit 1cdbcaa5fb
2 changed files with 11 additions and 0 deletions

View file

@ -65,6 +65,7 @@ evolinux_packages_system: True
evolinux_packages_diagnostic: True
evolinux_packages_hardware: True
evolinux_packages_common: True
evolinux_packages_stretch: True
evolinux_packages_serveur_base: True
evolinux_packages_invalid_mta: True
evolinux_packages_delete_nfs: True

View file

@ -63,6 +63,16 @@
allow_unauthenticated: yes
when: evolinux_packages_serveur_base
- name: Install/Update packages for Stretch and later
apt:
name: "{{ item }}"
with_items:
- net-tools
when:
- evolinux_packages_stretch
- ansible_distribution == "Debian"
- ansible_distribution_major_version | version_compare('9', '>=')
- name: Customize logcheck recipient
lineinfile:
dest: /etc/logcheck/logcheck.conf