Browse Source

update failed_when policy to use new variabl

update_ca_key
Edoardo Putti 8 years ago
parent
commit
99118f6c83
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      roles/lxc_guest/tasks/main.yaml

+ 1
- 0
roles/lxc_guest/tasks/main.yaml View File

@ -125,6 +125,7 @@
delegate_facts: True delegate_facts: True
with_items: "{{ groups['cas'] }}" with_items: "{{ groups['cas'] }}"
register: cert_result register: cert_result
failed_when: "(cert_result | from_json).stdout.failed"
- debug: var=cert_result verbosity=2 - debug: var=cert_result verbosity=2


Loading…
Cancel
Save