mirror of
https://git.lapiole.org/dani/ansible-roles.git
synced 2025-07-27 00:05:44 +02:00
Update to 2022-01-12 10:14
This commit is contained in:
@@ -58,6 +58,19 @@
|
||||
notify: reload httpd
|
||||
tags: [conf,web]
|
||||
|
||||
- name: Check if default cert exists
|
||||
stat: path={{ httpd_cert_path }}
|
||||
register: httpd_default_cert
|
||||
tags: [conf,cert,web]
|
||||
|
||||
- name: Create default self signed cert
|
||||
include_tasks: ../includes/create_selfsigned_cert.yml
|
||||
vars:
|
||||
cert_path: "{{ httpd_cert_path }}"
|
||||
cert_key_path: "{{ cert_key_path }"
|
||||
when: not httpd_default_cert.stat.exists
|
||||
tags: [conf,cert,web]
|
||||
|
||||
- name: Check if Let's Encrypt' cert exist
|
||||
stat: path=/var/lib/dehydrated/certificates/certs/{{ item.ssl.letsencrypt_cert }}/cert.pem
|
||||
register: httpd_letsencrypt_certs
|
||||
|
Reference in New Issue
Block a user