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:
|
with_items:
|
||||||
- selinux # selinux first to get fcontexts working
|
- selinux # selinux first to get fcontexts working
|
||||||
- iptables
|
- iptables
|
||||||
- postfix
|
|
||||||
- rsyslog
|
- rsyslog
|
||||||
loop_control:
|
loop_control:
|
||||||
loop_var: role
|
loop_var: role
|
||||||
|
|
||||||
|
- name: install postfix
|
||||||
|
include_role:
|
||||||
|
name: postfix
|
||||||
|
when: "'mail' not in {{ group_names }}"
|
||||||
|
|
||||||
- name: install packages
|
- name: install packages
|
||||||
package:
|
package:
|
||||||
name: "{{ item }}"
|
name: "{{ item }}"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue