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/7454/head
parent
0a9a91b662
commit
bd22ea2504
|
@ -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