mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-02 19:32:47 +00:00
sort the option_key to have a constant predictable line
This commit is contained in:
@@ -254,7 +254,7 @@ def writekeys(module, filename, keys):
|
||||
option_str = ""
|
||||
if options:
|
||||
option_strings = []
|
||||
for option_key in options.keys():
|
||||
for option_key in sorted(options.keys()):
|
||||
if options[option_key]:
|
||||
option_strings.append("%s=%s" % (option_key, options[option_key]))
|
||||
else:
|
||||
|
||||
Reference in New Issue
Block a user