Skip to content
Snippets Groups Projects
Commit f7b042a7 authored by jurgenhaas's avatar jurgenhaas
Browse files

ansible-roles/drupal#14 Change exatr var limit_drupal_sitie to limit_site and...

ansible-roles/drupal#14 Change exatr var limit_drupal_sitie to limit_site and enhance the script apache config to make use of it
parent 92b3865d
No related branches found
No related tags found
No related merge requests found
......@@ -13,7 +13,8 @@
- domains
loop_control:
loop_var: domain
when: domain.1.protocol|default("https") == "https" and domain.1.letsencrypt|default(true)
when: domain.1.protocol|default("https") == "https" and domain.1.letsencrypt|default(true) and (limit_site is not defined or domain.0.id is not defined or limit_site == domain.0.id)
tags: 'ApacheConfig'
when: '"letsencrypt" not in excluded_roles and groups.proxyserver is not defined'
......@@ -23,6 +24,6 @@
with_items: '{{ drupal_settings }}'
loop_control:
loop_var: drupal
when: limit_drupal_site is not defined or drupal.id is not defined or limit_drupal_site == drupal.id
when: limit_site is not defined or drupal.id is not defined or limit_site == drupal.id
when: '"drupal" not in excluded_roles and drupal_install_drupal'
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