Added LetsEncrypt SSL options in dev mode

This commit is contained in:
2020-01-04 00:49:53 +01:00
parent 3d5b1460f7
commit ec49e08643
2 changed files with 34 additions and 0 deletions
+8
View File
@@ -4,6 +4,14 @@
name: pyOpenSSL
state: present
- name: Copy LetsEncrypt Apache config
template:
src: etc/letsencrypt/options-ssl-apache.conf.j2
dest: /etc/letsencrypt/options-ssl-apache.conf
owner: root
group: root
mode: 0644
- name: Ensure directory exists for local self-signed TLS certs.
file:
path: /etc/letsencrypt/live/{{ ansible_domain }}