diff options
-rw-r--r-- | roles/postfix/tasks/main.yml | 2 |
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 |