summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Scherer <misc@zarb.org>2014-12-29 23:19:34 +0100
committerMichael Scherer <misc@zarb.org>2014-12-29 23:19:34 +0100
commit877199aa9d994f7a0382ea0ddabd4d2602420d40 (patch)
tree71e3ebf270c46ae5d50b88aea5008563b4846ce2
parent8e5e55034dde263e828b390e2f60210441ab2991 (diff)
Fix the syntax of postfix
-rw-r--r--roles/postfix/tasks/main.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/roles/postfix/tasks/main.yml b/roles/postfix/tasks/main.yml
index 9fd4d61..c1c2e3c 100644
--- a/roles/postfix/tasks/main.yml
+++ b/roles/postfix/tasks/main.yml
@@ -36,7 +36,7 @@
- smtp
when: ansible_distribution == 'Fedora' or ansible_distribution_major_version == '7'
-- shell: create={{ postfix_cert }} openssl req -x509 -newkey rsa:2048 -keyout {{ postfix_key }} -out {{ postfix_cert }} -days 3650 -nodes -subj '/C=US/ST=North Carolina/L=Raleigh/O=Red Hat Inc./OU=OSAS/CN={{ ansible_domain }}/emailAddress=postmaster@{{ ansible_domain }}'
+- shell: creates={{ postfix_cert }} openssl req -x509 -newkey rsa:2048 -keyout {{ postfix_key }} -out {{ postfix_cert }} -days 3650 -nodes -subj '/C=US/ST=North Carolina/L=Raleigh/O=Red Hat Inc./OU=OSAS/CN={{ ansible_domain }}/emailAddress=postmaster@{{ ansible_domain }}'
when: use_tls
# TODO enforce proper permission on cert + selinux