From 99118f6c83615ac1f1818f019e7f368d7351c631 Mon Sep 17 00:00:00 2001 From: Edoardo Putti Date: Sat, 15 Oct 2016 12:23:55 +0200 Subject: [PATCH] update failed_when policy to use new variabl --- roles/lxc_guest/tasks/main.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/roles/lxc_guest/tasks/main.yaml b/roles/lxc_guest/tasks/main.yaml index dc198dd..743333f 100644 --- a/roles/lxc_guest/tasks/main.yaml +++ b/roles/lxc_guest/tasks/main.yaml @@ -125,6 +125,7 @@ delegate_facts: True with_items: "{{ groups['cas'] }}" register: cert_result + failed_when: "(cert_result | from_json).stdout.failed" - debug: var=cert_result verbosity=2