From 78144dcb6ae49028cc2536725056180a4e0b62cc Mon Sep 17 00:00:00 2001
From: jurgenhaas <juergen@paragon-es.de>
Date: Wed, 1 Jun 2016 16:34:40 +0200
Subject: [PATCH] Change the way we limit Drupal sites during deployment

---
 tasks/main.yml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tasks/main.yml b/tasks/main.yml
index 757b99b..cfb4e80 100644
--- a/tasks/main.yml
+++ b/tasks/main.yml
@@ -23,6 +23,6 @@
     with_items: '{{ drupal_settings }}'
     loop_control:
       loop_var: drupal
-    when: limit_jail is not defined or drupal.jail is not defined or limit_jail == drupal.jail.name
+    when: limit_drupal_site is not defined or drupal.id is not defined or limit_drupal_site == drupal.id
 
   when: '"drupal" not in excluded_roles and drupal_install_drupal'
-- 
GitLab