You've already forked ansible-role-common
Exclude SMTP server
This commit is contained in:
@@ -19,6 +19,7 @@
|
|||||||
regexp: "relayhost =",
|
regexp: "relayhost =",
|
||||||
line: "relayhost = {{ relayhost }}"
|
line: "relayhost = {{ relayhost }}"
|
||||||
}
|
}
|
||||||
|
when: "'SMTP' not in inventory_hostname"
|
||||||
|
|
||||||
- name: Ensure Postfix is Started/Enabled
|
- name: Ensure Postfix is Started/Enabled
|
||||||
service:
|
service:
|
||||||
|
|||||||
Reference in New Issue
Block a user