Use package hostlist to expand a host list

This commit is contained in:
Holger Obermaier
2022-12-01 09:25:40 +01:00
parent a29f0c7e3b
commit 6f1f33f3a5
3 changed files with 24 additions and 20 deletions

View File

@@ -32,19 +32,15 @@
{
"username": "username-1",
"password": "password-1",
"endpoint": "ipmi-sensors://my-endpoint-1",
"host_list": [
"my-host-1"
]
"endpoint": "ipmi-sensors://%h-ipmi",
"host_list": "my-host-1-[1-2]"
},
{
"username": "username-2",
"password": "password-2",
"endpoint": "ipmi-sensors://my-endpoint-2",
"host_list": [
"my-host-2"
]
"endpoint": "ipmi-sensors://%h-ipmi",
"host_list": "my-host-2-[1,2]"
}
]
}
}
}