summaryrefslogtreecommitdiff
path: root/cloud/openstack/os_client_config.py
diff options
context:
space:
mode:
Diffstat (limited to 'cloud/openstack/os_client_config.py')
-rw-r--r--cloud/openstack/os_client_config.py16
1 files changed, 9 insertions, 7 deletions
diff --git a/cloud/openstack/os_client_config.py b/cloud/openstack/os_client_config.py
index 1627bdfe..ba524a5b 100644
--- a/cloud/openstack/os_client_config.py
+++ b/cloud/openstack/os_client_config.py
@@ -39,15 +39,17 @@ author: "Monty Taylor (@emonty)"
'''
EXAMPLES = '''
-# Get list of clouds that do not support security groups
-- os_client_config:
-- debug: var={{ item }}
- with_items: "{{ openstack.clouds|rejectattr('secgroup_source', 'none')|list() }}"
+- name: Get list of clouds that do not support security groups
+ os_client_config:
-# Get the information back just about the mordred cloud
-- os_client_config:
+- debug:
+ var: "{{ item }}"
+ with_items: "{{ openstack.clouds | rejectattr('secgroup_source', 'none') | list }}"
+
+- name: Get the information back just about the mordred cloud
+ os_client_config:
clouds:
- - mordred
+ - mordred
'''