Modifying Ansible filter 'failed' according to Ansible 2.5 porting guide (#5678)

This commit is contained in:
Moritz Graf 2020-02-26 09:18:26 +01:00 committed by GitHub
parent 9b7090ca1d
commit d2c44dd4df
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -57,7 +57,7 @@
delegate_to: "{{ download_delegate if download_run_once else inventory_hostname }}"
run_once: "{{ download_run_once }}"
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) }}"
when:
- download_force_cache