serverctl/infrastructure/create-resources/templates/hosts.tpl
kjuulh 4da3293569
All checks were successful
continuous-integration/drone/push Build is passing
Add nodes
2022-02-19 21:29:38 +01:00

14 lines
227 B
Smarty

[serverctl_master_hosts]
%{ for ip in serverctl_masters ~}
${ip}
%{ endfor ~}
[serverctl_node_hosts]
%{ for ip in serverctl_nodes ~}
${ip}
%{ endfor ~}
[serverctl_cluster:children]
serverctl_master_hosts
serverctl_node_hosts