|
@ -69,8 +69,7 @@ |
|
|
that: groups.etcd|length is not divisibleby 2 |
|
|
that: groups.etcd|length is not divisibleby 2 |
|
|
when: |
|
|
when: |
|
|
- not ignore_assert_errors |
|
|
- not ignore_assert_errors |
|
|
- groups.get('etcd') |
|
|
|
|
|
- inventory_hostname in groups['etcd'] |
|
|
|
|
|
|
|
|
- inventory_hostname in groups.get('etcd',[]) |
|
|
|
|
|
|
|
|
- name: Stop if memory is too small for masters |
|
|
- name: Stop if memory is too small for masters |
|
|
assert: |
|
|
assert: |
|
@ -274,7 +273,7 @@ |
|
|
that: etcd_deployment_type in ['host', 'docker'] |
|
|
that: etcd_deployment_type in ['host', 'docker'] |
|
|
msg: "The etcd deployment type, 'etcd_deployment_type', must be host or docker" |
|
|
msg: "The etcd deployment type, 'etcd_deployment_type', must be host or docker" |
|
|
when: |
|
|
when: |
|
|
- inventory_hostname in groups['etcd'] |
|
|
|
|
|
|
|
|
- inventory_hostname in groups.get('etcd',[]) |
|
|
- not etcd_kubeadm_enabled |
|
|
- not etcd_kubeadm_enabled |
|
|
|
|
|
|
|
|
- name: Stop if etcd deployment type is not host when container_manager != docker |
|
|
- name: Stop if etcd deployment type is not host when container_manager != docker |
|
@ -282,7 +281,7 @@ |
|
|
that: etcd_deployment_type == 'host' |
|
|
that: etcd_deployment_type == 'host' |
|
|
msg: "The etcd deployment type, 'etcd_deployment_type', must be host when container_manager is not docker" |
|
|
msg: "The etcd deployment type, 'etcd_deployment_type', must be host when container_manager is not docker" |
|
|
when: |
|
|
when: |
|
|
- inventory_hostname in groups['etcd'] |
|
|
|
|
|
|
|
|
- inventory_hostname in groups.get('etcd',[]) |
|
|
- not etcd_kubeadm_enabled |
|
|
- not etcd_kubeadm_enabled |
|
|
- container_manager != 'docker' |
|
|
- container_manager != 'docker' |
|
|
|
|
|
|
|
|