2016-05-23 06:25:52 +08:00
|
|
|
---
|
|
|
|
dependencies:
|
|
|
|
- role: adduser
|
|
|
|
user: "{{ addusers.etcd }}"
|
|
|
|
when: ansible_os_family != 'CoreOS'
|
|
|
|
- role: download
|
|
|
|
file: "{{ downloads.etcd }}"
|
2016-06-24 20:25:16 +08:00
|
|
|
when: etcd_deployment_type == "host"
|
|
|
|
- role: docker
|
2016-08-25 17:16:14 +08:00
|
|
|
when: (ansible_os_family != "CoreOS" and etcd_deployment_type == "docker" or inventory_hostname in groups['k8s-cluster'])
|