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