updated role for debian buster wich dropped ssmtp

This commit is contained in:
nd 2018-10-31 21:42:03 +01:00
parent 92aac47895
commit 98faa5ea81
No known key found for this signature in database
GPG key ID: 21B5CD4DEE3670E9
4 changed files with 26 additions and 6 deletions

View file

@ -1,6 +1,4 @@
- name: install ssmtp
apt: pkg=ssmtp state=latest
- name: setup ssmtp
template:
src: smtp.conf.j2
dest: /etc/ssmtp/ssmtp.conf
- include_tasks: ssmtp.yml
when: ansible_distribution_release == "stretch"
- include_tasks: nullmailer.yml
when: ansible_distribution_release != "stretch"