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

Logic fix

parent 7e267461
No related branches found
No related tags found
No related merge requests found
Pipeline #17053 passed
......@@ -101,7 +101,7 @@
common_name: "{{ inventory_hostname }}"
when:
- ( "md" not in apache_mods_enabled ) or ( not apache_cert.stat.exists )
- ( "md" not in apache_mods_enabled ) or ( apache_cert is defined and not apache_cert.stat.exists )
- ( "ssl" in apache_mods_enabled )
- ( "le" in apache_conf_enabled )
- ( common_name is defined ) and ( common_name == inventory_hostname )
......
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