From: Guillaume Abrioux Date: Wed, 12 Jul 2017 21:23:59 +0000 (+0200) Subject: vagrantfile: Ensure `devices` variable is a list X-Git-Tag: v2.3.0rc2~1^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=17565fee5df46318bea550a57fca650e4e5fe013;p=ceph-ansible.git vagrantfile: Ensure `devices` variable is a list in addition to e5d06a4 make sure devices variable will be a list even with vagrant. Signed-off-by: Guillaume Abrioux --- diff --git a/vagrant_variables.yml.atomic b/vagrant_variables.yml.atomic index 4f1fecaf5..6fe906d2c 100644 --- a/vagrant_variables.yml.atomic +++ b/vagrant_variables.yml.atomic @@ -22,7 +22,7 @@ cluster_subnet: 192.168.1 # MEMORY memory: 1024 -disks: "[ '/dev/sda', '/dev/sdb' ]" +disks: [ '/dev/sda', '/dev/sdb' ] eth: 'enp0s8' vagrant_box: centos/atomic-host diff --git a/vagrant_variables.yml.openstack b/vagrant_variables.yml.openstack index 797ecc42b..3bcb17b21 100644 --- a/vagrant_variables.yml.openstack +++ b/vagrant_variables.yml.openstack @@ -22,7 +22,7 @@ public_subnet: 172.17.72 cluster_subnet: 172.17.72 # For Openstack VMs, the disk will depend on what you are allocated -disks: "[ '/dev/vdb' ]" +disks: [ '/dev/vdb' ] # For Openstack VMs, the lan is usually eth0 eth: 'eth0' diff --git a/vagrant_variables.yml.sample b/vagrant_variables.yml.sample index 19fa1a4d5..80dabfe00 100644 --- a/vagrant_variables.yml.sample +++ b/vagrant_variables.yml.sample @@ -30,9 +30,9 @@ memory: 512 eth: 'eth1' # Disks -# For Xenial use disks: "[ '/dev/sdb', '/dev/sdc' ]" -# For CentOS7 use disks: "[ '/dev/sda', '/dev/sdb' ]" -disks: "[ '/dev/sdb', '/dev/sdc' ]" +# For Xenial use disks: [ '/dev/sdb', '/dev/sdc' ] +# For CentOS7 use disks: [ '/dev/sda', '/dev/sdb' ] +disks: [ '/dev/sdb', '/dev/sdc' ] # VAGRANT BOX # Ceph boxes are *strongly* suggested. They are under better control and will