1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2026-04-27 05:58:50 +00:00

modules: fix examples to use FQCN (#644)

* modules: fix examples to use FQCN

* fix

* fix

* fix
This commit is contained in:
Andrew Klychkov 2020-07-13 22:50:31 +03:00 committed by GitHub
parent 8b92e0454d
commit 41cfdda6a3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
533 changed files with 2130 additions and 2130 deletions

View file

@ -35,7 +35,7 @@ requirements:
EXAMPLES = '''
- name: Gather self-heal facts about all gluster hosts in the cluster
gluster_heal_info:
community.general.gluster_heal_info:
name: test_volume
status_filter: self-heal
register: self_heal_status
@ -43,7 +43,7 @@ EXAMPLES = '''
var: self_heal_status
- name: Gather rebalance facts about all gluster hosts in the cluster
gluster_heal_info:
community.general.gluster_heal_info:
name: test_volume
status_filter: rebalance
register: rebalance_status

View file

@ -48,20 +48,20 @@ notes:
EXAMPLES = '''
- name: Create a trusted storage pool
gluster_peer:
community.general.gluster_peer:
state: present
nodes:
- 10.0.1.5
- 10.0.1.10
- name: Delete a node from the trusted storage pool
gluster_peer:
community.general.gluster_peer:
state: absent
nodes:
- 10.0.1.10
- name: Delete a node from the trusted storage pool by force
gluster_peer:
community.general.gluster_peer:
state: absent
nodes:
- 10.0.0.1

View file

@ -87,7 +87,7 @@ author:
EXAMPLES = """
- name: Create gluster volume
gluster_volume:
community.general.gluster_volume:
state: present
name: test1
bricks: /bricks/brick1/g1
@ -98,14 +98,14 @@ EXAMPLES = """
run_once: true
- name: Tune
gluster_volume:
community.general.gluster_volume:
state: present
name: test1
options:
performance.cache-size: 256MB
- name: Set multiple options on GlusterFS volume
gluster_volume:
community.general.gluster_volume:
state: present
name: test1
options:
@ -115,29 +115,29 @@ EXAMPLES = """
}
- name: Start gluster volume
gluster_volume:
community.general.gluster_volume:
state: started
name: test1
- name: Limit usage
gluster_volume:
community.general.gluster_volume:
state: present
name: test1
directory: /foo
quota: 20.0MB
- name: Stop gluster volume
gluster_volume:
community.general.gluster_volume:
state: stopped
name: test1
- name: Remove gluster volume
gluster_volume:
community.general.gluster_volume:
state: absent
name: test1
- name: Create gluster volume with multiple bricks
gluster_volume:
community.general.gluster_volume:
state: present
name: test2
bricks: /bricks/brick1/g2,/bricks/brick2/g2
@ -147,7 +147,7 @@ EXAMPLES = """
run_once: true
- name: Remove the bricks from gluster volume
gluster_volume:
community.general.gluster_volume:
state: present
name: testvol
bricks: /bricks/brick1/b1,/bricks/brick2/b2
@ -157,7 +157,7 @@ EXAMPLES = """
run_once: true
- name: Reduce cluster configuration
gluster_volume:
community.general.gluster_volume:
state: present
name: testvol
bricks: /bricks/brick3/b1,/bricks/brick4/b2