Created
January 21, 2016 14:12
-
-
Save anonymous/b4480386995441288d43 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{% elif grains['os'] in ('CentOS', 'RedHat') and grains['roles'] != 'mailserver' %} | |
add_relayhost: | |
file.append: | |
- name: /etc/postfix/main.cf | |
- text: | | |
relayhost = [mail.$mydomain] | |
- require: | |
- pkg: postfix | |
{% endif %} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment