mirror of
https://github.com/kubernetes-sigs/kubespray.git
synced 2026-03-11 14:39:39 -02:30
Speed up tasks (#4278)
* fact gathering should run only once per node * eliminate ansible version check, it is at the beginning of each playbook
This commit is contained in:
committed by
Kubernetes Prow Robot
parent
c386172be7
commit
b4aaa7b908
@@ -1,10 +1,4 @@
|
||||
---
|
||||
- name: Stop if ansible version is too low
|
||||
assert:
|
||||
that:
|
||||
- ansible_version.full is version('2.3.0', '>=')
|
||||
run_once: yes
|
||||
|
||||
- name: Stop if either kube-master, kube-node or etcd is empty
|
||||
assert:
|
||||
that: groups.get('{{ item }}')
|
||||
|
||||
Reference in New Issue
Block a user