Merge pull request #3367 from mgsergio/master

Add check that kube-master, kube-node and etcd groups are not empty.
pull/3371/merge
k8s-ci-robot 2018-09-21 07:09:44 -07:00 committed by GitHub
commit 6b598eaacb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 9 additions and 0 deletions

View File

@ -5,6 +5,15 @@
- ansible_version.full|version_compare('2.3.0', '>=')
run_once: yes
- name: Stop if either kube-master, kube-node or etcd is empty
assert:
that: groups.get('{{ item }}')
with_items:
- kube-master
- kube-node
- etcd
run_once: true
- name: Stop if non systemd OS type
assert:
that: ansible_service_mgr == "systemd"