From 5329cda7abafe7d31368bf19b2b0a5561134eac5 Mon Sep 17 00:00:00 2001
From: Hinrikus Wolf <hinrikus@fsmpi.rwth-aachen.de>
Date: Sun, 14 May 2017 19:14:30 +0200
Subject: [PATCH] ad-auth: fix a typo in handler

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

diff --git a/ad-auth/handlers/main.yml b/ad-auth/handlers/main.yml
index e37960b..735c7f6 100644
--- a/ad-auth/handlers/main.yml
+++ b/ad-auth/handlers/main.yml
@@ -8,7 +8,7 @@
   command: sss_cache -E
   register: result
   changed_when: "result.rc == 0"
-  failed_when: "result.rc != 0 and current_realms.rc != 2"
+  failed_when: "result.rc != 0 and result.rc != 2"
 
 - name: restart sssd
   service: name=sssd state=restarted
-- 
GitLab