diff options
author | Hiroaki Nakamura <hnakamur@gmail.com> | 2016-05-11 07:37:34 +0900 |
---|---|---|
committer | Hiroaki Nakamura <hnakamur@gmail.com> | 2016-06-26 08:57:31 +0900 |
commit | f72b0288c0c7df77a31518c99bcd3651260e9c8e (patch) | |
tree | dbfd57e725be169ce59f74adc2efa6e1a9859d27 /cloud/lxd | |
parent | 5e10ca5c3da192dc029d5de8e7cb10fc6b9851b1 (diff) | |
download | ansible-modules-extras-f72b0288c0c7df77a31518c99bcd3651260e9c8e.tar.gz |
Fix RETURN document to be a valid yaml
Diffstat (limited to 'cloud/lxd')
-rw-r--r-- | cloud/lxd/lxd_container.py | 37 |
1 files changed, 18 insertions, 19 deletions
diff --git a/cloud/lxd/lxd_container.py b/cloud/lxd/lxd_container.py index d845d230..6aa7bdae 100644 --- a/cloud/lxd/lxd_container.py +++ b/cloud/lxd/lxd_container.py @@ -94,25 +94,24 @@ EXAMPLES = """ RETURN=""" lxd_container: - description: container information - returned: success - type: object - contains: - addresses: - description: mapping from the network device name to a list - of IPv4 addresses in the container - returned: when state is started or restarted - type: object - sample: {"eth0": ["10.155.92.191"]} - old_state: - description: the old state of the container - returned: when state is started or restarted - sample: "stopped" - logs": ["started"], - description: list of actions performed for the container - returned: success - type: list - sample: ["created", "started"] + description: container information + returned: success + type: object + contains: + addresses: + description: mapping from the network device name to a list of IPv4 addresses in the container + returned: when state is started or restarted + type: object + sample: {"eth0": ["10.155.92.191"]} + old_state: + description: the old state of the container + returned: when state is started or restarted + sample: "stopped" + logs: + description: list of actions performed for the container + returned: success + type: list + sample: ["created", "started"] """ from distutils.spawn import find_executable |