mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-07 22:02:50 +00:00
modules: fix examples to use FQCN (#644)
* modules: fix examples to use FQCN * fix * fix * fix
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user