2016-05-27 17:55:52 +08:00
|
|
|
---
|
|
|
|
- name: Refresh config | Create etcd config file
|
|
|
|
template:
|
2017-08-24 17:09:52 +08:00
|
|
|
src: etcd.env.j2
|
2016-05-27 17:55:52 +08:00
|
|
|
dest: /etc/etcd.env
|
2024-07-26 09:42:20 +08:00
|
|
|
mode: "0640"
|
2023-07-26 22:36:22 +08:00
|
|
|
notify: Restart etcd
|
2018-04-02 00:58:08 +08:00
|
|
|
when: is_etcd_master and etcd_cluster_setup
|
2018-03-01 16:39:14 +08:00
|
|
|
|
|
|
|
- name: Refresh config | Create etcd-events config file
|
|
|
|
template:
|
|
|
|
src: etcd-events.env.j2
|
|
|
|
dest: /etc/etcd-events.env
|
2024-07-26 09:42:20 +08:00
|
|
|
mode: "0640"
|
2023-07-26 22:36:22 +08:00
|
|
|
notify: Restart etcd-events
|
2018-03-01 16:39:14 +08:00
|
|
|
when: is_etcd_master and etcd_events_cluster_setup
|