when:ansible_os_family != "CoreOS" and download_run_once|bool
when:ansible_os_family != "CoreOS" and download_run_once|bool and download.enabled|bool and download.container|bool
- name:Download | get container images
synchronize:
@ -86,8 +86,8 @@
until:get_task|success
retries:4
delay:"{{ retry_stagger | random + 3 }}"
when:ansible_os_family != "CoreOS" and inventory_hostname != groups['kube-master'][0] and download_run_once|bool
when:ansible_os_family != "CoreOS" and inventory_hostname != groups['kube-master'][0] and download_run_once|bool and download.enabled|bool and download.container|bool
- name:Download | load container images
shell:docker load < "{{ fname }}"
when:ansible_os_family != "CoreOS" and inventory_hostname != groups['kube-master'][0] and download_run_once|bool
when:ansible_os_family != "CoreOS" and inventory_hostname != groups['kube-master'][0] and download_run_once|bool and download.enabled|bool and download.container|bool