Commit c6ec801f authored by Aleksey Shirokih's avatar Aleksey Shirokih
Browse files

pretty keys print

parent 4e555352
......@@ -58,6 +58,6 @@ def ansible_list(options, args):
"""
try:
env = Environment.get(Environment.name == options.env)
print json.dumps(env.ansible_inventory())
print json.dumps(env.ansible_inventory(), sort_keys=True)
except Environment.DoesNotExist:
die("Invalid environment: '%s'" % options.env)
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment