Browse Source

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

pull/5575/head
Moritz Graf 4 years ago
committed by GitHub
parent
commit
d2c44dd4df
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions
  1. 2
      roles/download/tasks/download_container.yml

2
roles/download/tasks/download_container.yml

@ -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

Loading…
Cancel
Save