base: Don't install postfix on mail servers
This commit is contained in:
parent
5bcc6cfde7
commit
2db1a47b1a
1 changed files with 5 additions and 1 deletions
|
@ -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 }}"
|
||||
|
|
Loading…
Add table
Reference in a new issue