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

Improve handling of limit_site argument

parent b0d3e37c
Branches
No related tags found
No related merge requests found
......@@ -14,7 +14,7 @@
- domains
loop_control:
loop_var: domain
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)
when: domain.1.protocol|default("https") == "https" and domain.1.letsencrypt|default(true) and (limit_site is not defined or limit_site == 'False' 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'
......@@ -26,7 +26,7 @@
with_items: '{{ drupal_settings|default([]) }}'
loop_control:
loop_var: drupal
when: limit_site is not defined or drupal.id is not defined or limit_site == drupal.id
when: limit_site is not defined or limit_site == 'False' or drupal.id is not defined or limit_site == drupal.id
tags:
- 'ApacheConfig'
- 'cron'
......@@ -43,7 +43,7 @@
with_items: '{{ drupal_settings|default([]) }}'
loop_control:
loop_var: drupal
when: limit_site is not defined or drupal.id is not defined or limit_site == drupal.id
when: limit_site is not defined or limit_site == 'False' or drupal.id is not defined or limit_site == drupal.id
tags: 'deploy'
when: '"drupal" not in excluded_roles and drupal_install_drupal and collect_config is defined and collect_config'
......@@ -63,7 +63,7 @@
with_items: '{{ drupal_settings|default([]) }}'
loop_control:
loop_var: drupal
when: limit_site is not defined or drupal.id is not defined or limit_site == drupal.id
when: limit_site is not defined or limit_site == 'False' or drupal.id is not defined or limit_site == drupal.id
when: '"drupal" not in excluded_roles and drupal_install_drupal and collect_db_dump is defined and collect_db_dump'
tags: 'collect_db_dump'
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment