mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-06-03 06:49:10 -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
|
@ -39,7 +39,7 @@ EXAMPLES = '''
|
|||
name: test_volume
|
||||
status_filter: self-heal
|
||||
register: self_heal_status
|
||||
- debug:
|
||||
- ansible.builtin.debug:
|
||||
var: self_heal_status
|
||||
|
||||
- name: Gather rebalance facts about all gluster hosts in the cluster
|
||||
|
@ -47,7 +47,7 @@ EXAMPLES = '''
|
|||
name: test_volume
|
||||
status_filter: rebalance
|
||||
register: rebalance_status
|
||||
- debug:
|
||||
- ansible.builtin.debug:
|
||||
var: rebalance_status
|
||||
'''
|
||||
|
||||
|
|
|
@ -54,7 +54,7 @@ EXAMPLES = '''
|
|||
hostname: "na-vsim"
|
||||
username: "admin"
|
||||
password: "admins_password"
|
||||
- debug:
|
||||
- ansible.builtin.debug:
|
||||
var: ontap_facts
|
||||
- name: Limit Fact Gathering to Aggregate Information
|
||||
community.general.na_ontap_gather_facts:
|
||||
|
|
|
@ -61,7 +61,7 @@ EXAMPLES = '''
|
|||
recurse: yes
|
||||
type: filesystem
|
||||
|
||||
- debug:
|
||||
- ansible.builtin.debug:
|
||||
msg: 'ZFS dataset {{ item.name }} consumes {{ item.used }} of disk space.'
|
||||
with_items: '{{ ansible_zfs_datasets }}'
|
||||
'''
|
||||
|
|
|
@ -45,7 +45,7 @@ EXAMPLES = '''
|
|||
community.general.zpool_facts: properties='free,size'
|
||||
|
||||
- name: Print gathered information
|
||||
debug:
|
||||
ansible.builtin.debug:
|
||||
msg: 'ZFS pool {{ item.name }} has {{ item.free }} free space out of {{ item.size }}.'
|
||||
with_items: '{{ ansible_zfs_pools }}'
|
||||
'''
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue