1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2026-04-20 18:59:08 +00:00

modules: fix examples to use FQCN for builtin modules (#648)

* modules: fix examples to use FQCN for builtin modules

* fix

* fix

* fix

* fix

* fix

* fix

* fix
This commit is contained in:
Andrew Klychkov 2020-07-14 18:28:08 +03:00 committed by GitHub
parent c034e8c04f
commit c055340ecb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
126 changed files with 290 additions and 286 deletions

View file

@ -43,7 +43,7 @@ EXAMPLES = '''
api_version: 500
delegate_to: localhost
register: result
- debug:
- ansible.builtin.debug:
msg: "{{ result.datacenters }}"
- name: Gather paginated, filtered and sorted information about Data Centers
@ -58,7 +58,7 @@ EXAMPLES = '''
sort: 'name:descending'
filter: 'state=Unmanaged'
register: result
- debug:
- ansible.builtin.debug:
msg: "{{ result.datacenters }}"
- name: Gather information about a Data Center by name
@ -70,7 +70,7 @@ EXAMPLES = '''
name: "My Data Center"
delegate_to: localhost
register: result
- debug:
- ansible.builtin.debug:
msg: "{{ result.datacenters }}"
- name: Gather information about the Data Center Visual Content
@ -84,9 +84,9 @@ EXAMPLES = '''
- visualContent
delegate_to: localhost
register: result
- debug:
- ansible.builtin.debug:
msg: "{{ result.datacenters }}"
- debug:
- ansible.builtin.debug:
msg: "{{ result.datacenter_visual_content }}"
'''

View file

@ -46,7 +46,7 @@ EXAMPLES = '''
no_log: true
delegate_to: localhost
register: result
- debug:
- ansible.builtin.debug:
msg: "{{ result.enclosures }}"
- name: Gather paginated, filtered and sorted information about Enclosures
@ -63,7 +63,7 @@ EXAMPLES = '''
no_log: true
delegate_to: localhost
register: result
- debug:
- ansible.builtin.debug:
msg: "{{ result.enclosures }}"
- name: Gather information about an Enclosure by name
@ -76,7 +76,7 @@ EXAMPLES = '''
no_log: true
delegate_to: localhost
register: result
- debug:
- ansible.builtin.debug:
msg: "{{ result.enclosures }}"
- name: Gather information about an Enclosure by name with options
@ -93,13 +93,13 @@ EXAMPLES = '''
no_log: true
delegate_to: localhost
register: result
- debug:
- ansible.builtin.debug:
msg: "{{ result.enclosures }}"
- debug:
- ansible.builtin.debug:
msg: "{{ result.enclosure_script }}"
- debug:
- ansible.builtin.debug:
msg: "{{ result.enclosure_environmental_configuration }}"
- debug:
- ansible.builtin.debug:
msg: "{{ result.enclosure_utilization }}"
- name: "Gather information about an Enclosure with temperature data at a resolution of one sample per day, between two
@ -121,9 +121,9 @@ EXAMPLES = '''
no_log: true
delegate_to: localhost
register: result
- debug:
- ansible.builtin.debug:
msg: "{{ result.enclosures }}"
- debug:
- ansible.builtin.debug:
msg: "{{ result.enclosure_utilization }}"
'''

View file

@ -40,7 +40,7 @@ EXAMPLES = '''
delegate_to: localhost
register: result
- debug:
- ansible.builtin.debug:
msg: "{{ result.ethernet_networks }}"
- name: Gather paginated and filtered information about Ethernet Networks
@ -54,7 +54,7 @@ EXAMPLES = '''
delegate_to: localhost
register: result
- debug:
- ansible.builtin.debug:
msg: "{{ result.ethernet_networks }}"
- name: Gather information about an Ethernet Network by name
@ -64,7 +64,7 @@ EXAMPLES = '''
delegate_to: localhost
register: result
- debug:
- ansible.builtin.debug:
msg: "{{ result.ethernet_networks }}"
- name: Gather information about an Ethernet Network by name with options
@ -77,9 +77,9 @@ EXAMPLES = '''
delegate_to: localhost
register: result
- debug:
- ansible.builtin.debug:
msg: "{{ result.enet_associated_profiles }}"
- debug:
- ansible.builtin.debug:
msg: "{{ result.enet_associated_uplink_groups }}"
'''

View file

@ -37,7 +37,7 @@ EXAMPLES = '''
delegate_to: localhost
register: result
- debug:
- ansible.builtin.debug:
msg: "{{ result.fc_networks }}"
- name: Gather paginated, filtered and sorted information about Fibre Channel Networks
@ -50,7 +50,7 @@ EXAMPLES = '''
filter: 'fabricType=FabricAttach'
delegate_to: localhost
register: result
- debug:
- ansible.builtin.debug:
msg: "{{ result.fc_networks }}"
- name: Gather information about a Fibre Channel Network by name
@ -60,7 +60,7 @@ EXAMPLES = '''
delegate_to: localhost
register: result
- debug:
- ansible.builtin.debug:
msg: "{{ result.fc_networks }}"
'''

View file

@ -36,7 +36,7 @@ EXAMPLES = '''
delegate_to: localhost
register: result
- debug:
- ansible.builtin.debug:
msg: "{{ result.fcoe_networks }}"
- name: Gather paginated, filtered and sorted information about FCoE Networks
@ -50,7 +50,7 @@ EXAMPLES = '''
delegate_to: localhost
register: result
- debug:
- ansible.builtin.debug:
msg: "{{ result.fcoe_networks }}"
- name: Gather information about a FCoE Network by name
@ -60,7 +60,7 @@ EXAMPLES = '''
delegate_to: localhost
register: result
- debug:
- ansible.builtin.debug:
msg: "{{ result.fcoe_networks }}"
'''

View file

@ -41,7 +41,7 @@ EXAMPLES = '''
delegate_to: localhost
register: result
- debug:
- ansible.builtin.debug:
msg: "{{ result.logical_interconnect_groups }}"
- name: Gather paginated, filtered and sorted information about Logical Interconnect Groups
@ -59,7 +59,7 @@ EXAMPLES = '''
delegate_to: localhost
register: result
- debug:
- ansible.builtin.debug:
msg: "{{ result.logical_interconnect_groups }}"
- name: Gather information about a Logical Interconnect Group by name
@ -73,7 +73,7 @@ EXAMPLES = '''
delegate_to: localhost
register: result
- debug:
- ansible.builtin.debug:
msg: "{{ result.logical_interconnect_groups }}"
'''

View file

@ -47,7 +47,7 @@ EXAMPLES = '''
delegate_to: localhost
register: result
- debug:
- ansible.builtin.debug:
msg: "{{ result.network_sets }}"
- name: Gather paginated, filtered, and sorted information about Network Sets
@ -65,7 +65,7 @@ EXAMPLES = '''
delegate_to: localhost
register: result
- debug:
- ansible.builtin.debug:
msg: "{{ result.network_sets }}"
- name: Gather information about all Network Sets, excluding Ethernet networks
@ -80,7 +80,7 @@ EXAMPLES = '''
delegate_to: localhost
register: result
- debug:
- ansible.builtin.debug:
msg: "{{ result.network_sets }}"
- name: Gather information about a Network Set by name
@ -94,7 +94,7 @@ EXAMPLES = '''
delegate_to: localhost
register: result
- debug:
- ansible.builtin.debug:
msg: "{{ result.network_sets }}"
- name: Gather information about a Network Set by name, excluding Ethernet networks
@ -110,7 +110,7 @@ EXAMPLES = '''
delegate_to: localhost
register: result
- debug:
- ansible.builtin.debug:
msg: "{{ result.network_sets }}"
'''

View file

@ -43,7 +43,7 @@ EXAMPLES = '''
delegate_to: localhost
register: result
- debug:
- ansible.builtin.debug:
msg: "{{ result.san_managers }}"
- name: Gather paginated, filtered and sorted information about SAN Managers
@ -57,7 +57,7 @@ EXAMPLES = '''
delegate_to: localhost
register: result
- debug:
- ansible.builtin.debug:
msg: "{{ result.san_managers }}"
- name: Gather information about a SAN Manager by provider display name
@ -67,7 +67,7 @@ EXAMPLES = '''
delegate_to: localhost
register: result
- debug:
- ansible.builtin.debug:
msg: "{{ result.san_managers }}"
'''