mirror of
https://github.com/kubernetes-sigs/kubespray.git
synced 2026-03-03 09:49:00 -03:30
Modifying Ansible filter 'failed' according to Ansible 2.5 porting guide (#5678)
This commit is contained in:
@@ -57,7 +57,7 @@
|
|||||||
delegate_to: "{{ download_delegate if download_run_once else inventory_hostname }}"
|
delegate_to: "{{ download_delegate if download_run_once else inventory_hostname }}"
|
||||||
run_once: "{{ download_run_once }}"
|
run_once: "{{ download_run_once }}"
|
||||||
register: container_load_status
|
register: container_load_status
|
||||||
failed_when: container_load_status | failed
|
failed_when: container_load_status is failed
|
||||||
become: "{{ user_can_become_root | default(false) or not (download_run_once and download_localhost) }}"
|
become: "{{ user_can_become_root | default(false) or not (download_run_once and download_localhost) }}"
|
||||||
when:
|
when:
|
||||||
- download_force_cache
|
- download_force_cache
|
||||||
|
|||||||
Reference in New Issue
Block a user