mirror of
https://github.com/xcat2/confluent.git
synced 2024-11-22 17:43:14 +00:00
sort directory listing to make ansible plays and script order deterministic
This commit is contained in:
parent
052d16aa49
commit
d0f978548e
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user