2016-05-27 12:55:52 +03:00
|
|
|
---
|
|
|
|
- name: Refresh config | Create etcd config file
|
|
|
|
template:
|
2017-08-24 04:09:52 -05:00
|
|
|
src: etcd.env.j2
|
2016-05-27 12:55:52 +03:00
|
|
|
dest: /etc/etcd.env
|
|
|
|
notify: restart etcd
|
2018-04-01 18:58:08 +02:00
|
|
|
when: is_etcd_master and etcd_cluster_setup
|
2018-03-01 02:39:14 -06:00
|
|
|
|
|
|
|
- name: Refresh config | Create etcd-events config file
|
|
|
|
template:
|
|
|
|
src: etcd-events.env.j2
|
|
|
|
dest: /etc/etcd-events.env
|
|
|
|
notify: restart etcd-events
|
|
|
|
when: is_etcd_master and etcd_events_cluster_setup
|