eaed005045
Running etcd in Docker reduces the number of individual file downloads and services running on the host. Note: etcd container v3.0.1 moves bindir to /usr/local/bin Fixes: #298
10 lines
297 B
YAML
10 lines
297 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")
|