gluster_volume: Parameter expects comma separated list of hosts, passing {{play_hosts}} will fail as Python does not parse it into a list
This commit is contained in:
parent
f0dc00d21a
commit
d76cd4c299
1 changed files with 2 additions and 2 deletions
|
@ -108,7 +108,7 @@ author: '"Taneli Leppä (@rosmo)" <taneli@crasman.fi>'
|
||||||
|
|
||||||
EXAMPLES = """
|
EXAMPLES = """
|
||||||
- name: create gluster volume
|
- name: create gluster volume
|
||||||
gluster_volume: state=present name=test1 bricks=/bricks/brick1/g1 rebalance=yes cluster="{{ play_hosts }}"
|
gluster_volume: state=present name=test1 bricks=/bricks/brick1/g1 rebalance=yes cluster="192.168.1.10,192.168.1.11"
|
||||||
run_once: true
|
run_once: true
|
||||||
|
|
||||||
- name: tune
|
- name: tune
|
||||||
|
@ -127,7 +127,7 @@ EXAMPLES = """
|
||||||
gluster_volume: state=absent name=test1
|
gluster_volume: state=absent name=test1
|
||||||
|
|
||||||
- name: create gluster volume with multiple bricks
|
- name: create gluster volume with multiple bricks
|
||||||
gluster_volume: state=present name=test2 bricks="/bricks/brick1/g2,/bricks/brick2/g2" cluster="{{ play_hosts }}"
|
gluster_volume: state=present name=test2 bricks="/bricks/brick1/g2,/bricks/brick2/g2" cluster="192.168.1.10,192.168.1.11"
|
||||||
run_once: true
|
run_once: true
|
||||||
"""
|
"""
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue