2018-12-04 02:44:29 +08:00
|
|
|
---
|
|
|
|
dependencies:
|
|
|
|
- role: kubernetes/tokens
|
|
|
|
when: kube_token_auth
|
|
|
|
tags:
|
|
|
|
- k8s-secrets
|
2022-06-29 00:13:58 +08:00
|
|
|
- role: adduser
|
|
|
|
user: "{{ addusers.etcd }}"
|
|
|
|
when:
|
|
|
|
- etcd_deployment_type == "kubeadm"
|
|
|
|
- not (ansible_os_family in ["Flatcar", "Flatcar Container Linux by Kinvolk", "ClearLinux"] or is_fedora_coreos)
|