mirror of https://github.com/ceph/ceph-ansible.git
Specify the zone when requesting zonegroup information.
Signed-off-by: Nathan Hoad <nhoad@bloomberg.net>
(cherry picked from commit 8923931df4
)
pull/7453/head
parent
650d11d280
commit
0cec4f301f
|
@ -313,6 +313,7 @@ def get_zonegroup(module, container_image=None):
|
||||||
'''
|
'''
|
||||||
|
|
||||||
cluster = module.params.get('cluster')
|
cluster = module.params.get('cluster')
|
||||||
|
name = module.params.get('name')
|
||||||
realm = module.params.get('realm')
|
realm = module.params.get('realm')
|
||||||
zonegroup = module.params.get('zonegroup')
|
zonegroup = module.params.get('zonegroup')
|
||||||
|
|
||||||
|
@ -323,6 +324,7 @@ def get_zonegroup(module, container_image=None):
|
||||||
cluster,
|
cluster,
|
||||||
'zonegroup',
|
'zonegroup',
|
||||||
'get',
|
'get',
|
||||||
|
'--rgw-zone=' + name,
|
||||||
'--rgw-realm=' + realm,
|
'--rgw-realm=' + realm,
|
||||||
'--rgw-zonegroup=' + zonegroup,
|
'--rgw-zonegroup=' + zonegroup,
|
||||||
'--format=json'
|
'--format=json'
|
||||||
|
|
Loading…
Reference in New Issue