Browse Source

Add etcd role dependency on kube user to avoid etcd role failure when running scale.yml with a fresh node. (#3240) (#4479)

pull/4718/head v2.10.0
Christoffer Anselm 5 years ago
committed by Kubernetes Prow Robot
parent
commit
dcd9c9509b
1 changed files with 3 additions and 0 deletions
  1. 3
      roles/etcd/meta/main.yml

3
roles/etcd/meta/main.yml

@ -3,3 +3,6 @@ dependencies:
- role: adduser
user: "{{ addusers.etcd }}"
when: not (ansible_os_family in ['CoreOS', 'Container Linux by CoreOS', "ClearLinux"] or is_atomic)
- role: adduser
user: "{{ addusers.kube }}"
when: not (ansible_os_family in ['CoreOS', 'Container Linux by CoreOS', "ClearLinux"] or is_atomic)
Loading…
Cancel
Save