From 877199aa9d994f7a0382ea0ddabd4d2602420d40 Mon Sep 17 00:00:00 2001 From: Michael Scherer Date: Mon, 29 Dec 2014 23:19:34 +0100 Subject: Fix the syntax of postfix --- roles/postfix/tasks/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'roles/postfix/tasks') 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 -- cgit