Fix permissions with https keys and certs
This commit is contained in:
parent
e8cd7dc58a
commit
508d7889ba
@ -10,7 +10,6 @@
|
||||
file:
|
||||
path: "{{ item.dir }}"
|
||||
mode: "{{ item.mode }}"
|
||||
recurse: yes
|
||||
owner: root
|
||||
group: www-data
|
||||
state: directory
|
||||
@ -26,6 +25,7 @@
|
||||
- name: Create certificate key
|
||||
openssl_privatekey:
|
||||
path: "/etc/pki/cert/private/{{ website_url }}.key"
|
||||
mode: "0750"
|
||||
- name: Create CSR
|
||||
openssl_csr:
|
||||
path: "/etc/pki/cert/csr/{{ website_url }}.csr"
|
||||
|
Loading…
Reference in New Issue
Block a user