mirror of
https://github.com/kubernetes-sigs/kubespray.git
synced 2025-12-13 21:34:40 +03:00
* project: fix ansible-lint name Signed-off-by: Arthur Outhenin-Chalandre <arthur.outhenin-chalandre@proton.ch> * project: ignore jinja template error in names Signed-off-by: Arthur Outhenin-Chalandre <arthur.outhenin-chalandre@proton.ch> * project: capitalize ansible name Signed-off-by: Arthur Outhenin-Chalandre <arthur.outhenin-chalandre@proton.ch> * project: update notify after name capitalization Signed-off-by: Arthur Outhenin-Chalandre <arthur.outhenin-chalandre@proton.ch> --------- Signed-off-by: Arthur Outhenin-Chalandre <arthur.outhenin-chalandre@proton.ch>
17 lines
420 B
YAML
17 lines
420 B
YAML
---
|
|
- name: Refresh config | Create etcd config file
|
|
template:
|
|
src: etcd.env.j2
|
|
dest: /etc/etcd.env
|
|
mode: 0640
|
|
notify: Restart etcd
|
|
when: is_etcd_master and etcd_cluster_setup
|
|
|
|
- name: Refresh config | Create etcd-events config file
|
|
template:
|
|
src: etcd-events.env.j2
|
|
dest: /etc/etcd-events.env
|
|
mode: 0640
|
|
notify: Restart etcd-events
|
|
when: is_etcd_master and etcd_events_cluster_setup
|