From 69c94cec6b3af70e4e068d5382034574600c1ace Mon Sep 17 00:00:00 2001 From: phil Date: Fri, 23 Jun 2023 12:17:05 +0200 Subject: [PATCH] Sort list of hypervisors --- templates/hypervisor.txt.j2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/hypervisor.txt.j2 b/templates/hypervisor.txt.j2 index 14e29a2..f1162fb 100644 --- a/templates/hypervisor.txt.j2 +++ b/templates/hypervisor.txt.j2 @@ -1,5 +1,5 @@ ====== Hypervisor ====== -{% for host in groups['virt_kvm_host'] %} +{% for host in groups['virt_kvm_host'] | sort %} * [[cmdb:servers:all:{{ host }}]] {% endfor %}