2015-02-24 07:07:15 +08:00
|
|
|
---
|
|
|
|
|
2016-02-08 05:30:32 +08:00
|
|
|
# DEPLOY CONTAINERIZED DAEMONS
|
|
|
|
docker: false
|
|
|
|
|
2015-02-24 07:07:15 +08:00
|
|
|
# DEFINE THE NUMBER OF VMS TO RUN
|
|
|
|
mon_vms: 3
|
|
|
|
osd_vms: 3
|
|
|
|
mds_vms: 0
|
|
|
|
rgw_vms: 0
|
2016-05-06 02:20:03 +08:00
|
|
|
nfs_vms: 0
|
2019-05-23 22:21:08 +08:00
|
|
|
grafana_server_vms: 0
|
2016-07-12 18:15:22 +08:00
|
|
|
rbd_mirror_vms: 0
|
2015-02-24 07:07:15 +08:00
|
|
|
client_vms: 0
|
2017-03-16 17:17:08 +08:00
|
|
|
mgr_vms: 0
|
2015-02-24 07:07:15 +08:00
|
|
|
|
2016-10-07 14:04:53 +08:00
|
|
|
# SUBNETS TO USE FOR THE VMS
|
|
|
|
public_subnet: 192.168.42
|
|
|
|
cluster_subnet: 192.168.43
|
2015-03-30 17:45:22 +08:00
|
|
|
|
2015-04-28 01:01:02 +08:00
|
|
|
# MEMORY
|
2015-11-06 04:39:03 +08:00
|
|
|
# set 1024 for CentOS
|
2019-02-05 16:49:50 +08:00
|
|
|
memory: 1024
|
2015-04-28 01:01:02 +08:00
|
|
|
|
2015-11-06 04:39:03 +08:00
|
|
|
# Ethernet interface name
|
2019-02-22 17:04:28 +08:00
|
|
|
# use eth1 for libvirt and ubuntu precise, enp0s8 for CentOS and ubuntu xenial
|
|
|
|
eth: 'eth1'
|
2015-11-06 04:39:03 +08:00
|
|
|
|
2015-12-03 06:59:52 +08:00
|
|
|
# Disks
|
2017-07-13 05:23:59 +08:00
|
|
|
# For Xenial use disks: [ '/dev/sdb', '/dev/sdc' ]
|
|
|
|
# For CentOS7 use disks: [ '/dev/sda', '/dev/sdb' ]
|
|
|
|
disks: [ '/dev/sdb', '/dev/sdc' ]
|
2015-12-03 06:59:52 +08:00
|
|
|
|
2015-03-30 17:45:22 +08:00
|
|
|
# VAGRANT BOX
|
2016-11-15 20:51:47 +08:00
|
|
|
# Ceph boxes are *strongly* suggested. They are under better control and will
|
|
|
|
# not get updated frequently unless required for build systems. These are (for
|
|
|
|
# now):
|
|
|
|
#
|
|
|
|
# * ceph/ubuntu-xenial
|
|
|
|
#
|
|
|
|
# Ubuntu: ceph/ubuntu-xenial or bento/ubuntu-16.04 or ubuntu/trusty64 or ubuntu/wily64
|
2016-03-08 23:06:05 +08:00
|
|
|
# CentOS: bento/centos-7.1 or puppetlabs/centos-7.0-64-puppet
|
2017-10-12 23:30:57 +08:00
|
|
|
# openSUSE: opensuse/openSUSE-42.3-x86_64
|
2015-12-03 06:59:52 +08:00
|
|
|
# libvirt CentOS: centos/7
|
2016-02-18 19:58:33 +08:00
|
|
|
# parallels Ubuntu: parallels/ubuntu-14.04
|
2015-10-20 17:14:05 +08:00
|
|
|
# Debian: deb/jessie-amd64 - be careful the storage controller is named 'SATA Controller'
|
2015-03-30 17:45:22 +08:00
|
|
|
# For more boxes have a look at:
|
|
|
|
# - https://atlas.hashicorp.com/boxes/search?utf8=✓&sort=&provider=virtualbox&q=
|
|
|
|
# - https://download.gluster.org/pub/gluster/purpleidea/vagrant/
|
2019-05-31 22:22:15 +08:00
|
|
|
vagrant_box: centos/7
|
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-06-21 03:07:37 +08:00
|
|
|
# VAGRANT URL
|
|
|
|
# This is a URL to download an image from an alternate location. vagrant_box
|
|
|
|
# above should be set to the filename of the image.
|
|
|
|
# Fedora virtualbox: https://download.fedoraproject.org/pub/fedora/linux/releases/22/Cloud/x86_64/Images/Fedora-Cloud-Base-Vagrant-22-20150521.x86_64.vagrant-virtualbox.box
|
|
|
|
# Fedora libvirt: https://download.fedoraproject.org/pub/fedora/linux/releases/22/Cloud/x86_64/Images/Fedora-Cloud-Base-Vagrant-22-20150521.x86_64.vagrant-libvirt.box
|
2016-10-12 10:35:01 +08:00
|
|
|
# vagrant_box_url: https://download.fedoraproject.org/pub/fedora/linux/releases/22/Cloud/x86_64/Images/Fedora-Cloud-Base-Vagrant-22-20150521.x86_64.vagrant-virtualbox.box
|
2015-11-06 04:39:03 +08:00
|
|
|
|
2016-01-23 00:58:33 +08:00
|
|
|
os_tuning_params:
|
|
|
|
- { name: fs.file-max, value: 26234859 }
|
2017-03-28 18:00:32 +08:00
|
|
|
|
|
|
|
# Debug mode, runs Ansible with -vvvv
|
|
|
|
debug: false
|