mirror of
https://pagure.io/fedora-infra/ansible.git
synced 2026-03-20 03:57:02 +08:00
letsencrypt: Try and put the combined cert in the format stunnel likes
Right now it's adding the cert without a newline at the end, but it also expects the cert to be at the top and the intermediate below it. So, swap them around and try putting a newline in it. Signed-off-by: Kevin Fenzi <kevin@scrye.com>
This commit is contained in:
@@ -139,7 +139,8 @@
|
||||
- name: Install certificate bundle
|
||||
copy: >
|
||||
dest=/etc/pki/tls/certs/{{site_name}}.bundle.cert
|
||||
content="{{certbot_chain.stdout}} {{certbot_certificate.stdout}}"
|
||||
content="{{certbot_certificate.stdout}
|
||||
certbot_chain.stdout}}"
|
||||
owner=root
|
||||
group=root
|
||||
mode=0644
|
||||
|
||||
Reference in New Issue
Block a user