Skip to content
Snippets Groups Projects
Commit 355c439e authored by Chris Croome's avatar Chris Croome
Browse files

tweaks

parent 06c6ef6e
No related branches found
Tags 2.10.0
No related merge requests found
Pipeline #9824 failed
...@@ -43,12 +43,16 @@ ...@@ -43,12 +43,16 @@
src: ssl.conf.j2 src: ssl.conf.j2
dest: /etc/apache2/mods-available/ssl.conf dest: /etc/apache2/mods-available/ssl.conf
- name: Provision a Let's Encrypt cert - name: Conditionally provision a Let's Encrypt cert using acmesh role
include_role: block:
name: acmesh
tasks_from: letsencrypt - name: "Provision a Let's Encrypt cert for {{ inventory_hostname }}"
vars: include_role:
common_name: "{{ inventory_hostname }}" name: acmesh
tasks_from: letsencrypt
vars:
common_name: "{{ inventory_hostname }}"
when: when:
- ( apache_cert.stat.exists == False ) - ( apache_cert.stat.exists == False )
- ( "ssl" in apache_mods_enabled ) - ( "ssl" in apache_mods_enabled )
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment