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