Commit f6387be7 authored by Oyvind.Gjesdal's avatar Oyvind.Gjesdal
Browse files

readd letsencrypt, change when for imports to check if debug task was skipped (no items)

parent e2b38d14
......@@ -43,12 +43,13 @@
msg: "{{ apache_vhost_has_ssl_digicert }}"
- name: "include digicert-uib"
include_tasks: "uib_ssl.yml"
when: "apache_vhost_has_ssl_digicert"
# don't include if debug task was skipped (no items with uib type)
when: "not apache_vhost_has_ssl_digicert.results.skipped | bool"
#check if some vhost has certbot set for ssl
#- name: Include local tasks for ssl template and certbot
# include_tasks: "certbot_ssl.yml"
# when:
- name: Include local tasks for ssl template and certbot
include_tasks: "certbot_ssl.yml"
when: "not apache_vhost_has_ssl_certbot.results.skipped | bool"
# check if some vhost as uib set for ssl
- name: Add apache vhosts configuration.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment