summaryrefslogtreecommitdiff
path: root/cloud/openstack/os_image_facts.py
diff options
context:
space:
mode:
Diffstat (limited to 'cloud/openstack/os_image_facts.py')
-rw-r--r--cloud/openstack/os_image_facts.py11
1 files changed, 7 insertions, 4 deletions
diff --git a/cloud/openstack/os_image_facts.py b/cloud/openstack/os_image_facts.py
index 4058d400..9f693c73 100644
--- a/cloud/openstack/os_image_facts.py
+++ b/cloud/openstack/os_image_facts.py
@@ -42,15 +42,18 @@ extends_documentation_fragment: openstack
'''
EXAMPLES = '''
-# Gather facts about a previously created image named image1
-- os_image_facts:
+- name: Gather facts about a previously created image named image1
+ os_image_facts:
auth:
- auth_url: https://your_api_url.com:9000/v2.0
+ auth_url: 'https://your_api_url.com:9000/v2.0'
username: user
password: password
project_name: someproject
image: image1
-- debug: var=openstack
+
+- name: Show openstack facts
+ debug:
+ var: openstack
'''
RETURN = '''