diff --git a/preflight/install-config.j2 b/preflight/install-config.j2 index 9c00536..7786f77 100644 --- a/preflight/install-config.j2 +++ b/preflight/install-config.j2 @@ -20,7 +20,7 @@ platform: dnsVIP: {{ hostvars[host]['ns1vip'] }} hosts: {% endfor %} -{% for host in groups['masters'] %} +{% for host in groups['masters']|sort %} - name: {{ hostvars[host]['name'] }} role: {{ hostvars[host]['role'] }} bmc: