0500f27db8
* Set ETCD_INITIAL_CLUSTER_STATE from `new` to `existing`, because parameter `new` makes sense only on cluster assembly stage. * If cluster exists and current node is not a part of the cluster, add it with command `etcdctl add member name url`. Closes kubespray/kargo/#270
6 lines
129 B
YAML
6 lines
129 B
YAML
---
|
|
- name: Refresh config | Create etcd config file
|
|
template:
|
|
src: etcd.j2
|
|
dest: /etc/etcd.env
|
|
notify: restart etcd
|