2
0
mirror of https://github.com/xcat2/confluent.git synced 2024-11-26 03:19:48 +00:00

sort directory listing to make ansible plays and script order deterministic

This commit is contained in:
Simon Thompson 2023-07-05 21:23:55 +02:00
parent 052d16aa49
commit d0f978548e

View File

@ -570,7 +570,7 @@ def get_scriptlist(scriptcat, cfg, nodename, pathtemplate):
if not os.path.isdir(target) and os.path.isdir(target + '.d'):
target = target + '.d'
try:
slist = os.listdir(target)
slist = sorted(os.listdir(target))
except OSError:
pass
return slist, profile