Simplify docker_*_facts return names (#51939)

* Simplify docker_*_facts return names.

* Adjust regular return values of modules to match style of docker_*_facts modules.
This commit is contained in:
Felix Fontein
2019-03-05 17:09:00 +01:00
committed by John R Barker
parent 1510435577
commit 8c628c9b2c
21 changed files with 208 additions and 208 deletions

View File

@@ -76,7 +76,7 @@ EXAMPLES = '''
'''
RETURN = '''
nodes_facts:
nodes:
description:
- Facts representing the current state of the nodes. Matches the C(docker node inspect) output.
- Can contain multiple entries if more than one node provided in I(name), or I(name) is not provided.
@@ -136,11 +136,11 @@ def main():
client.fail_task_if_not_swarm_manager()
node = get_node_facts(client)
nodes = get_node_facts(client)
client.module.exit_json(
changed=False,
nodes_facts=node,
nodes=nodes,
)