Skip to content

Commit b8e146c

Browse files
committed
Sort networkd config for determinism
1 parent ebd3da8 commit b8e146c

File tree

1 file changed

+1
-1
lines changed
  • ansible/roles/systemd-networkd/tasks

1 file changed

+1
-1
lines changed

ansible/roles/systemd-networkd/tasks/main.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@
117117
[Address]
118118
Address={{vlan461_address}}/24
119119
120-
{% for hostname in groups['sql'] + groups['scripts-real'] %}
120+
{% for hostname in (groups['sql'] + groups['scripts-real'])|sort %}
121121
{% with info = hostvars[hostname] %}
122122
{% if info['vlan486_address'] | default(False) and info['vlan461_address'] | default(False) %}
123123
[Route]

0 commit comments

Comments
 (0)