2f1f7a492d
etcd facts are generated in kubernetes/preinstall, so etcd nodes need to be evaluated first before the rest of the deployment. Moved several directory facts from kubernetes/node to kubernetes/preinstall because they are not backward dependent.
11 lines
331 B
YAML
11 lines
331 B
YAML
---
|
|
dependencies:
|
|
- role: adduser
|
|
user: "{{ addusers.etcd }}"
|
|
when: ansible_os_family != 'CoreOS'
|
|
- role: download
|
|
file: "{{ downloads.etcd }}"
|
|
when: etcd_deployment_type == "host"
|
|
- role: docker
|
|
when: (ansible_os_family != "CoreOS" and etcd_deployment_type == "docker")
|
|
- role: "kubernetes/preinstall"
|