changed_when:false (#4189)

This commit is contained in:
hikoz 2019-02-26 13:09:30 +09:00 committed by Kubernetes Prow Robot
parent 74727b085b
commit 67832aada9
3 changed files with 3 additions and 0 deletions

View file

@ -136,6 +136,7 @@
poll: 3
run_once: yes
delegate_to: "{{ groups['kube-master'][0] }}"
changed_when: false
when:
- kube_network_plugin == 'calico'

View file

@ -16,6 +16,7 @@
delegate_to: "{{ groups['kube-master'][0] }}"
async: 10
poll: 3
changed_when: false
- name: "Determine if calico upgrade is needed"
block:

View file

@ -81,6 +81,7 @@
delay: "{{ retry_stagger | random + 3 }}"
delegate_to: "{{ groups['kube-master'][0] }}"
run_once: true
changed_when: false
- name: Calico | Ensure that calico_pool_cidr is within kube_pods_subnet when defined
assert: