mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-22 21:00:22 -07: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:
parent
c034e8c04f
commit
c055340ecb
126 changed files with 290 additions and 286 deletions
|
@ -62,7 +62,7 @@ EXAMPLES = '''
|
|||
register: result
|
||||
|
||||
- name: Print gathered information
|
||||
debug:
|
||||
ansible.builtin.debug:
|
||||
msg: "{{ result.ovirt_affinity_labels }}"
|
||||
|
||||
- name: >
|
||||
|
@ -73,7 +73,7 @@ EXAMPLES = '''
|
|||
register: result
|
||||
|
||||
- name: Print gathered information
|
||||
debug:
|
||||
ansible.builtin.debug:
|
||||
msg: "{{ result.ovirt_affinity_labels }}"
|
||||
|
||||
- name: >
|
||||
|
@ -84,7 +84,7 @@ EXAMPLES = '''
|
|||
register: result
|
||||
|
||||
- name: Print gathered information
|
||||
debug:
|
||||
ansible.builtin.debug:
|
||||
msg: "{{ result.ovirt_affinity_labels }}"
|
||||
|
||||
- name: >
|
||||
|
@ -96,7 +96,7 @@ EXAMPLES = '''
|
|||
register: result
|
||||
|
||||
- name: Print gathered information
|
||||
debug:
|
||||
ansible.builtin.debug:
|
||||
msg: "{{ result.ovirt_affinity_labels }}"
|
||||
'''
|
||||
|
||||
|
|
|
@ -36,7 +36,7 @@ EXAMPLES = '''
|
|||
register: result
|
||||
|
||||
- name: Print gathered information
|
||||
debug:
|
||||
ansible.builtin.debug:
|
||||
msg: "{{ result.ovirt_api }}"
|
||||
'''
|
||||
|
||||
|
|
|
@ -59,7 +59,7 @@ EXAMPLES = '''
|
|||
register: result
|
||||
|
||||
- name: Print gathered information
|
||||
debug:
|
||||
ansible.builtin.debug:
|
||||
msg: "{{ result.ovirt_clusters }}"
|
||||
'''
|
||||
|
||||
|
|
|
@ -42,7 +42,7 @@ EXAMPLES = '''
|
|||
register: result
|
||||
|
||||
- name: Print gathered information
|
||||
debug:
|
||||
ansible.builtin.debug:
|
||||
msg: "{{ result.ovirt_datacenters }}"
|
||||
'''
|
||||
|
||||
|
|
|
@ -58,7 +58,7 @@ EXAMPLES = '''
|
|||
register: result
|
||||
|
||||
- name: Print gathered information
|
||||
debug:
|
||||
ansible.builtin.debug:
|
||||
msg: "{{ result.ovirt_disks }}"
|
||||
'''
|
||||
|
||||
|
|
|
@ -88,7 +88,7 @@ EXAMPLES = '''
|
|||
ovirt_event_info:
|
||||
search: "severity=alert"
|
||||
register: result
|
||||
- debug:
|
||||
- ansible.builtin.debug:
|
||||
msg: "{{ result.ovirt_events }}"
|
||||
'''
|
||||
|
||||
|
|
|
@ -62,7 +62,7 @@ EXAMPLES = '''
|
|||
register: result
|
||||
|
||||
- name: Print gathered information
|
||||
debug:
|
||||
ansible.builtin.debug:
|
||||
msg: "{{ result.ovirt_external_providers }}"
|
||||
'''
|
||||
|
||||
|
|
|
@ -57,7 +57,7 @@ EXAMPLES = '''
|
|||
register: result
|
||||
|
||||
- name: Print gathered information
|
||||
debug:
|
||||
ansible.builtin.debug:
|
||||
msg: "{{ result.ovirt_groups }}"
|
||||
'''
|
||||
|
||||
|
|
|
@ -54,7 +54,7 @@ EXAMPLES = '''
|
|||
register: result
|
||||
|
||||
- name: Print gathered information
|
||||
debug:
|
||||
ansible.builtin.debug:
|
||||
msg: "{{ result.ovirt_hosts }}"
|
||||
|
||||
- name: Gather information about all hosts with cluster version 4.2
|
||||
|
@ -64,7 +64,7 @@ EXAMPLES = '''
|
|||
register: result
|
||||
|
||||
- name: Print gathered information
|
||||
debug:
|
||||
ansible.builtin.debug:
|
||||
msg: "{{ result.ovirt_hosts }}"
|
||||
'''
|
||||
|
||||
|
|
|
@ -73,7 +73,7 @@ EXAMPLES = '''
|
|||
register: result
|
||||
|
||||
- name: Print gathered information
|
||||
debug:
|
||||
ansible.builtin.debug:
|
||||
msg: "{{ result.ovirt_host_storages }}"
|
||||
'''
|
||||
|
||||
|
|
|
@ -58,7 +58,7 @@ EXAMPLES = '''
|
|||
register: result
|
||||
|
||||
- name: Print gathered information
|
||||
debug:
|
||||
ansible.builtin.debug:
|
||||
msg: "{{ result.ovirt_networks }}"
|
||||
'''
|
||||
|
||||
|
|
|
@ -61,7 +61,7 @@ EXAMPLES = '''
|
|||
register: result
|
||||
|
||||
- name: Print gathered information
|
||||
debug:
|
||||
ansible.builtin.debug:
|
||||
msg: "{{ result.ovirt_nics }}"
|
||||
'''
|
||||
|
||||
|
|
|
@ -69,7 +69,7 @@ EXAMPLES = '''
|
|||
register: result
|
||||
|
||||
- name: Print gathered information
|
||||
debug:
|
||||
ansible.builtin.debug:
|
||||
msg: "{{ result.ovirt_permissions }}"
|
||||
'''
|
||||
|
||||
|
|
|
@ -61,7 +61,7 @@ EXAMPLES = '''
|
|||
register: result
|
||||
|
||||
- name: Print gathered information
|
||||
debug:
|
||||
ansible.builtin.debug:
|
||||
msg: "{{ result.ovirt_quotas }}"
|
||||
'''
|
||||
|
||||
|
|
|
@ -60,7 +60,7 @@ EXAMPLES = '''
|
|||
register: result
|
||||
|
||||
- name: Print gathered information
|
||||
debug:
|
||||
ansible.builtin.debug:
|
||||
msg: "{{ result.ovirt_scheduling_policies }}"
|
||||
'''
|
||||
|
||||
|
|
|
@ -49,7 +49,7 @@ EXAMPLES = '''
|
|||
register: result
|
||||
|
||||
- name: Print gathered information
|
||||
debug:
|
||||
ansible.builtin.debug:
|
||||
msg: "{{ result.ovirt_snapshots }}"
|
||||
'''
|
||||
|
||||
|
|
|
@ -60,7 +60,7 @@ EXAMPLES = '''
|
|||
register: result
|
||||
|
||||
- name: Print gathered information
|
||||
debug:
|
||||
ansible.builtin.debug:
|
||||
msg: "{{ result.ovirt_storage_domains }}"
|
||||
'''
|
||||
|
||||
|
|
|
@ -65,7 +65,7 @@ EXAMPLES = '''
|
|||
register: result
|
||||
|
||||
- name: Print gathered information
|
||||
debug:
|
||||
ansible.builtin.debug:
|
||||
msg: "{{ result.ovirt_storage_templates }}"
|
||||
'''
|
||||
|
||||
|
|
|
@ -65,7 +65,7 @@ EXAMPLES = '''
|
|||
register: result
|
||||
|
||||
- name: Print gathered information
|
||||
debug:
|
||||
ansible.builtin.debug:
|
||||
msg: "{{ result.ovirt_storage_vms }}"
|
||||
'''
|
||||
|
||||
|
|
|
@ -62,7 +62,7 @@ EXAMPLES = '''
|
|||
register: result
|
||||
|
||||
- name: Print gathered information
|
||||
debug:
|
||||
ansible.builtin.debug:
|
||||
msg: "{{ result.ovirt_tags }}"
|
||||
|
||||
- name: Gather information about all tags, which are assigned to VM postgres
|
||||
|
@ -71,7 +71,7 @@ EXAMPLES = '''
|
|||
register: result
|
||||
|
||||
- name: Print gathered information
|
||||
debug:
|
||||
ansible.builtin.debug:
|
||||
msg: "{{ result.ovirt_tags }}"
|
||||
|
||||
- name: Gather information about all tags, which are assigned to host west
|
||||
|
@ -80,7 +80,7 @@ EXAMPLES = '''
|
|||
register: result
|
||||
|
||||
- name: Print gathered information
|
||||
debug:
|
||||
ansible.builtin.debug:
|
||||
msg: "{{ result.ovirt_tags }}"
|
||||
'''
|
||||
|
||||
|
|
|
@ -58,7 +58,7 @@ EXAMPLES = '''
|
|||
register: result
|
||||
|
||||
- name: Print gathered information
|
||||
debug:
|
||||
ansible.builtin.debug:
|
||||
msg: "{{ result.ovirt_templates }}"
|
||||
'''
|
||||
|
||||
|
|
|
@ -57,7 +57,7 @@ EXAMPLES = '''
|
|||
register: result
|
||||
|
||||
- name: Print gathered information
|
||||
debug:
|
||||
ansible.builtin.debug:
|
||||
msg: "{{ result.ovirt_users }}"
|
||||
'''
|
||||
|
||||
|
|
|
@ -77,7 +77,7 @@ EXAMPLES = '''
|
|||
register: result
|
||||
|
||||
- name: Print gathered information
|
||||
debug:
|
||||
ansible.builtin.debug:
|
||||
msg: "{{ result.ovirt_vms }}"
|
||||
|
||||
- name: Gather info about next run configuration of virtual machine named myvm
|
||||
|
@ -87,7 +87,7 @@ EXAMPLES = '''
|
|||
register: result
|
||||
|
||||
- name: Print gathered information
|
||||
debug:
|
||||
ansible.builtin.debug:
|
||||
msg: "{{ result.ovirt_vms[0] }}"
|
||||
'''
|
||||
|
||||
|
|
|
@ -57,7 +57,7 @@ EXAMPLES = '''
|
|||
register: result
|
||||
|
||||
- name: Print gathered information
|
||||
debug:
|
||||
ansible.builtin.debug:
|
||||
msg: "{{ result.ovirt_vm_pools }}"
|
||||
'''
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue