mirror of
https://github.com/phfroidmont/self-hosting.git
synced 2025-12-25 13:46:59 +01:00
Install etcd cluster
This commit is contained in:
parent
e0b240c7bd
commit
7e1e5f9c91
13 changed files with 55 additions and 1033 deletions
1
roles/etcd/templates/initial_cluster.j2
Normal file
1
roles/etcd/templates/initial_cluster.j2
Normal file
|
|
@ -0,0 +1 @@
|
|||
{% for svrs in ['k8s_masters'] %}{% for host in groups[svrs] %}etcd_{{ hostvars[host].ansible_hostname }}=http://{{ hostvars[host].vpn_ip }}:2380{% if not loop.last %},{% endif %}{% endfor %}{% endfor %}
|
||||
Loading…
Add table
Add a link
Reference in a new issue