base: Don't install postfix on mail servers

This commit is contained in:
Timo Makinen 2020-09-24 16:28:38 +00:00
parent 5bcc6cfde7
commit 2db1a47b1a

View file

@ -5,11 +5,15 @@
with_items:
- selinux # selinux first to get fcontexts working
- iptables
- postfix
- rsyslog
loop_control:
loop_var: role
- name: install postfix
include_role:
name: postfix
when: "'mail' not in {{ group_names }}"
- name: install packages
package:
name: "{{ item }}"