From fdc5ff9bea91be04c44aa042d8b2748043659bb7 Mon Sep 17 00:00:00 2001
From: Emiliano Vavassori <syntaxerrormmm@gmail.com>
Date: Sun, 4 Oct 2015 22:24:56 +0200
Subject: [PATCH] Fixing (hopefully) the boolean operators to do changes.

---
 local.yml | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/local.yml b/local.yml
index 4c079d4..8801ccc 100644
--- a/local.yml
+++ b/local.yml
@@ -5,7 +5,7 @@
   vars_files:
     - domainpwd.vault
   roles:
-    - { role: networkpackagemanager, when: 'ansible_local.checksum.needs_pkg_run' }
-    - { role: init, when: 'ansible_local.checksum.needs_repo_run' }
-    - { role: custom, when: 'ansible_local.checksum.needs_repo_run' }
-    - { role: domain, when: 'ansible_local.checksum.needs_repo_run' }
+    - { role: networkpackagemanager, when: 'ansible_local.checksum.needs_pkg_run | bool' }
+    - { role: init, when: 'ansible_local.checksum.needs_repo_run | bool' }
+    - { role: custom, when: 'ansible_local.checksum.needs_repo_run | bool' }
+    - { role: domain, when: 'ansible_local.checksum.needs_repo_run | bool' }