Fix #2154 : we don't need lsb-invalid-mta and package is not anymore in stretch

This commit is contained in:
Gregory Colpart 2017-07-22 08:19:14 +02:00
parent b4bfccd7eb
commit bbb0e579a6

View file

@ -89,20 +89,6 @@
line: 'SENDMAILTO="{{ logcheck_alert_email or general_alert_email | mandatory }}"'
when: evolinux_packages_logcheck_recipient
- name: is an MTA installed?
command: "dpkg -S /usr/sbin/sendmail"
check_mode: no
register: mta_installed
failed_when: False
changed_when: False
- name: Install lsb-invalid-mta
apt:
name: lsb-invalid-mta
when: evolinux_packages_invalid_mta and mta_installed.rc != 0
- name: Deleting rpcbin and nfs-common
apt:
name: "{{ item }}"