mirror of https://github.com/ceph/ceph-ansible.git
Fix Vagrant vars for MDS and RGW
Signed-off-by: Sébastien Han <sebastien.han@enovance.com>pull/223/head
parent
c0ce7dd754
commit
a1d062b8f9
|
@ -27,11 +27,12 @@ ansible_provision = proc do |ansible|
|
|||
}
|
||||
|
||||
# In a production deployment, these should be secret
|
||||
if NRGWS != '0'
|
||||
if NMDSS != '0' && NRGWS != '0'
|
||||
ansible.extra_vars = {
|
||||
fsid: '4a158d27-f750-41d5-9e7f-26ce4c9d2d45',
|
||||
monitor_secret: 'AQAWqilTCDh7CBAAawXt6kyTgLFCxSvJhTEmuw==',
|
||||
radosgw: 'true',
|
||||
mds: 'true',
|
||||
}
|
||||
elsif NMDSS != '0'
|
||||
ansible.extra_vars = {
|
||||
|
@ -39,6 +40,12 @@ ansible_provision = proc do |ansible|
|
|||
monitor_secret: 'AQAWqilTCDh7CBAAawXt6kyTgLFCxSvJhTEmuw==',
|
||||
mds: 'true',
|
||||
}
|
||||
elsif NRGWS != '0'
|
||||
ansible.extra_vars = {
|
||||
fsid: '4a158d27-f750-41d5-9e7f-26ce4c9d2d45',
|
||||
monitor_secret: 'AQAWqilTCDh7CBAAawXt6kyTgLFCxSvJhTEmuw==',
|
||||
radosgw: 'true',
|
||||
}
|
||||
else
|
||||
ansible.extra_vars = {
|
||||
fsid: '4a158d27-f750-41d5-9e7f-26ce4c9d2d45',
|
||||
|
|
Loading…
Reference in New Issue