From 04fdb9c2ede472d1c8ccb92fb832c6b7aa1c57ee Mon Sep 17 00:00:00 2001
From: jurgenhaas <juergen@paragon-es.de>
Date: Tue, 11 Jun 2019 12:45:05 +0200
Subject: [PATCH] ansible-playbooks/general#85 Change remaining false to no

---
 tasks/main.yml | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/tasks/main.yml b/tasks/main.yml
index eae97a9..7f94073 100644
--- a/tasks/main.yml
+++ b/tasks/main.yml
@@ -16,7 +16,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 limit_site == 'False' 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 == 'no' or domain.0.id is not defined or limit_site == domain.0.id)
       tags:
         - ApacheConfig
 
@@ -29,7 +29,7 @@
       with_items: '{{ drupal_settings|default([]) }}'
       loop_control:
         loop_var: drupal
-      when: limit_site is not defined or limit_site == 'False' or drupal.id is not defined or limit_site == drupal.id
+      when: limit_site is not defined or limit_site == 'no' or drupal.id is not defined or limit_site == drupal.id
       tags:
         - ApacheConfig
         - cron
@@ -46,7 +46,7 @@
       with_items: '{{ drupal_settings|default([]) }}'
       loop_control:
         loop_var: drupal
-      when: limit_site is not defined or limit_site == 'False' or drupal.id is not defined or limit_site == drupal.id
+      when: limit_site is not defined or limit_site == 'no' or drupal.id is not defined or limit_site == drupal.id
       tags:
         - deploy
 
@@ -67,7 +67,7 @@
       with_items: '{{ drupal_settings|default([]) }}'
       loop_control:
         loop_var: drupal
-      when: limit_site is not defined or limit_site == 'False' or drupal.id is not defined or limit_site == drupal.id
+      when: limit_site is not defined or limit_site == 'no' or drupal.id is not defined or limit_site == drupal.id
 
   when: not excluded_roles or "drupal" not in excluded_roles and drupal_install_drupal and collect_db_dump is defined and collect_db_dump
   tags:
-- 
GitLab