Exclude SMTP server

This commit is contained in:
2017-10-25 15:39:47 +13:00
parent 06b6cf53fb
commit a8a7aa6f68

View File

@@ -19,6 +19,7 @@
regexp: "relayhost =",
line: "relayhost = {{ relayhost }}"
}
when: "'SMTP' not in inventory_hostname"
- name: Ensure Postfix is Started/Enabled
service: