Browse Source

changed_when:false (#4189)

pull/4305/head
hikoz 5 years ago
committed by Kubernetes Prow Robot
parent
commit
67832aada9
3 changed files with 3 additions and 0 deletions
  1. 1
      roles/kubernetes/preinstall/tasks/0020-verify-settings.yml
  2. 1
      roles/network_plugin/calico/tasks/check.yml
  3. 1
      roles/network_plugin/calico/tasks/install.yml

1
roles/kubernetes/preinstall/tasks/0020-verify-settings.yml

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

1
roles/network_plugin/calico/tasks/check.yml

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

1
roles/network_plugin/calico/tasks/install.yml

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

Loading…
Cancel
Save