mirror of https://github.com/ceph/ceph-ansible.git
Enable proper options while activating rgw or mds with Vagrant
When enabling radosgw virtual machines, we also need to enable the radosgw variable. Same thing goes with the mds. Signed-off-by: Sébastien Han <sebastien.han@enovance.com>pull/207/head
parent
e4aa5f5ba3
commit
f12dab9835
|
@ -23,10 +23,24 @@ ansible_provision = proc do |ansible|
|
|||
}
|
||||
|
||||
# In a production deployment, these should be secret
|
||||
if NRGWS != '0'
|
||||
ansible.extra_vars = {
|
||||
fsid: '4a158d27-f750-41d5-9e7f-26ce4c9d2d45',
|
||||
monitor_secret: 'AQAWqilTCDh7CBAAawXt6kyTgLFCxSvJhTEmuw=='
|
||||
monitor_secret: 'AQAWqilTCDh7CBAAawXt6kyTgLFCxSvJhTEmuw==',
|
||||
radosgw: 'true',
|
||||
}
|
||||
elsif NMDSS != '0'
|
||||
ansible.extra_vars = {
|
||||
fsid: '4a158d27-f750-41d5-9e7f-26ce4c9d2d45',
|
||||
monitor_secret: 'AQAWqilTCDh7CBAAawXt6kyTgLFCxSvJhTEmuw==',
|
||||
mds: 'true',
|
||||
}
|
||||
else
|
||||
ansible.extra_vars = {
|
||||
fsid: '4a158d27-f750-41d5-9e7f-26ce4c9d2d45',
|
||||
monitor_secret: 'AQAWqilTCDh7CBAAawXt6kyTgLFCxSvJhTEmuw==',
|
||||
}
|
||||
end
|
||||
ansible.limit = 'all'
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in New Issue