Merge pull request #207 from leseb/fix-rgw-vagrant

Enable proper options while activating rgw or mds with Vagrant
pull/208/head
Leseb 2015-02-15 02:05:30 +01:00
commit 2a76fc5caa
1 changed files with 18 additions and 4 deletions

22
Vagrantfile vendored
View File

@ -23,10 +23,24 @@ ansible_provision = proc do |ansible|
}
# In a production deployment, these should be secret
ansible.extra_vars = {
fsid: '4a158d27-f750-41d5-9e7f-26ce4c9d2d45',
monitor_secret: 'AQAWqilTCDh7CBAAawXt6kyTgLFCxSvJhTEmuw=='
}
if NRGWS != '0'
ansible.extra_vars = {
fsid: '4a158d27-f750-41d5-9e7f-26ce4c9d2d45',
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