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

This commit is contained in:
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

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]