Skip to content

Commit

Permalink
Add etcd role dependency on kube user to avoid etcd role failure when…
Browse files Browse the repository at this point in the history
… running scale.yml with a fresh node. (#3240) (#4479)
  • Loading branch information
DaDummy authored and k8s-ci-robot committed Apr 30, 2019
1 parent 15eb7db commit dcd9c95
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions roles/etcd/meta/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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)

0 comments on commit dcd9c95

Please sign in to comment.