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

include uib-ssl if any item is set with uib

parent 27876b14
......@@ -38,14 +38,13 @@
register: "apache_vhost_has_ssl_digicert"
when: "item.ssl | default (false) | bool and item.ssl_type is defined and item.ssl_type =='uib'"
- name: "debug"
msg: "{{ apache_vhost_has_ssl_digicert }}"
- name: "include digicert-uib"
include_tasks: "uib-ssl.yml"
when: "apache_vhost_has_ssl_digicert.results[0].item"
#check if some vhost has certbot set for ssl
#- name: Include local tasks for ssl template and certbot
# include_tasks: "certbot_ssl.yml"
# include_tasks: "certbot_ssl.yml"
# when:
# check if some vhost as uib set for ssl
Supports Markdown
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