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

pull/9215/head
Sergey 2022-08-24 10:16:24 +03:00 committed by GitHub
parent c8a61ec98c
commit 1c75ec9ec1
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 }}" environment: "{{ proxy_disable_env }}"
roles: roles:
- { role: kubespray-defaults } - { 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 - name: Download images to ansible host cache via first kube_control_plane node
hosts: kube_control_plane[0] hosts: kube_control_plane[0]