11 lines
344 B
YAML
11 lines
344 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" or inventory_hostname in groups['k8s-cluster'])
|