c12s-kubespray/roles/etcd/tasks/refresh_config.yml
Sergii Golovatiuk f144fd1ed3 Refactor etcd role
- Run docker run from script rather than directly from systemd target
- Refactoring styling/templates

Signed-off-by: Sergii Golovatiuk <sgolovatiuk@mirantis.com>
2017-03-24 12:34:15 +01:00

7 lines
157 B
YAML

---
- name: Refresh config | Create etcd config file
template:
src: etcd.env.yml
dest: /etc/etcd.env
notify: restart etcd
when: is_etcd_master