do not run etcd role in scale.yml playbook when etcd installed by kubeadm (#9210) (#9216)

pull/9234/head
Sergey 2022-08-24 19:08:03 +03:00 committed by GitHub
parent a270632466
commit 6eb313584e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 1 deletions

View File

@ -33,7 +33,12 @@
environment: "{{ proxy_disable_env }}"
roles:
- { role: kubespray-defaults }
- { role: etcd, tags: etcd, etcd_cluster_setup: false }
- role: etcd
tags: etcd
vars:
etcd_cluster_setup: false
etcd_events_cluster_setup: false
when: etcd_deployment_type != "kubeadm"
- name: Download images to ansible host cache via first kube_control_plane node
hosts: kube_control_plane[0]