mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
sort the option_key to have a constant predictable line
This commit is contained in:
parent
264945a1f7
commit
7672e9fef8
1 changed files with 1 additions and 1 deletions
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue