preinstall: check etcd_deployment_type (#7149)

Signed-off-by: Etienne Champetier <champetier.etienne@gmail.com>
pull/7152/head
Etienne Champetier 2021-01-13 17:19:03 -05:00 committed by GitHub
parent 02213d6e07
commit 8331939aed
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 7 additions and 0 deletions

View File

@ -275,6 +275,13 @@
msg: "The etcd deployment type, 'etcd_deployment_type', must be host or docker"
run_once: true
- name: Stop if etcd deployment type is not host when container_manager != docker
assert:
that: etcd_deployment_type == 'host'
msg: "The etcd deployment type, 'etcd_deployment_type', must be host when container_manager is not docker"
when: container_manager != 'docker'
run_once: true
- name: Stop if download_localhost is enabled but download_run_once is not
assert:
that: download_run_once