From f7b042a7d0ceb6ee5cd13634a27c22c34479cbab Mon Sep 17 00:00:00 2001 From: jurgenhaas <juergen@paragon-es.de> Date: Fri, 8 Sep 2017 15:49:12 +0200 Subject: [PATCH] ansible-roles/drupal#14 Change exatr var limit_drupal_sitie to limit_site and enhance the script apache config to make use of it --- tasks/main.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/tasks/main.yml b/tasks/main.yml index cfb4e80..5acd0ac 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -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' -- GitLab