Fix initial .complete.pem file creation for letsencrypt
This commit is contained in:
parent
1b7bb11f08
commit
240a7bdf22
1 changed files with 12 additions and 0 deletions
|
|
@ -126,6 +126,18 @@
|
|||
<<: *acmetask
|
||||
data: "{{ challenge }}"
|
||||
|
||||
- name: "generate concatinated versions (full) for {{ certname }}"
|
||||
shell: "umask 0137; cat {{ cert.chainpath }} {{ cert.keypath }} > {{ cert.fullpath }}"
|
||||
args:
|
||||
creates: "{{ cert.fullpath }}"
|
||||
|
||||
- name: "set permissions for concatinated versions (full) for {{ certname }}"
|
||||
file:
|
||||
path: "{{ cert.fullpath }}"
|
||||
mode: 0640
|
||||
owner: root
|
||||
group: ssl-cert
|
||||
|
||||
- name: store if the cert was changed
|
||||
set_fact:
|
||||
certchanged: "{{ challenge is changed }}"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue