2016-01-26 03:28:10 +08:00
|
|
|
---
|
2016-04-14 21:41:05 +08:00
|
|
|
# DEPLOY CONTAINERIZED DAEMONS
|
|
|
|
docker: true
|
2016-01-26 03:28:10 +08:00
|
|
|
|
|
|
|
# DEFINE THE NUMBER OF VMS TO RUN
|
|
|
|
mon_vms: 1
|
|
|
|
osd_vms: 1
|
|
|
|
mds_vms: 0
|
|
|
|
rgw_vms: 0
|
2016-05-06 02:20:03 +08:00
|
|
|
nfs_vms: 0
|
2016-08-17 03:07:45 +08:00
|
|
|
rbd_mirror_vms: 0
|
2016-01-26 03:28:10 +08:00
|
|
|
client_vms: 0
|
|
|
|
|
2016-04-29 22:07:10 +08:00
|
|
|
# Deploy RESTAPI on each of the Monitors
|
|
|
|
#restapi: false
|
|
|
|
|
2016-01-26 03:28:10 +08:00
|
|
|
# SUBNET TO USE FOR THE VMS
|
|
|
|
subnet: 192.168.0
|
|
|
|
|
|
|
|
# MEMORY
|
|
|
|
memory: 1024
|
|
|
|
|
|
|
|
disks: "[ '/dev/sdb', '/dev/sdc' ]"
|
|
|
|
|
2016-01-27 04:01:03 +08:00
|
|
|
eth: 'enp0s8'
|
2016-01-26 03:28:10 +08:00
|
|
|
vagrant_box: centos/atomic-host
|
2016-08-10 03:32:52 +08:00
|
|
|
# The sync directory changes based on vagrant box
|
|
|
|
# Set to /home/vagrant/sync for Centos/7, /home/{ user }/vagrant for openstack and defaults to /vagrant
|
|
|
|
vagrant_sync_dir: /home/vagrant/sync
|
2016-01-26 03:28:10 +08:00
|
|
|
|
|
|
|
# if vagrant fails to attach storage controller, add the storage controller name by:
|
2016-01-27 04:01:03 +08:00
|
|
|
# VBoxManage storagectl `VBoxManage list vms |grep ceph-ansible_osd0|awk '{print $1}'|tr \" ' '` --name "SATA" --add sata
|
2016-01-26 03:28:10 +08:00
|
|
|
# and "vagrant up" again
|
2016-01-27 04:01:03 +08:00
|
|
|
vagrant_storagectl: 'SATA'
|
|
|
|
skip_tags: 'with_pkg'
|