]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-build.git/commitdiff
ceph-ansible-pull-requests: set monitor_interface correctly 318/head
authorAndrew Schoen <aschoen@redhat.com>
Thu, 28 Jan 2016 13:21:08 +0000 (07:21 -0600)
committerAndrew Schoen <aschoen@redhat.com>
Thu, 28 Jan 2016 13:21:08 +0000 (07:21 -0600)
The trusty and centos nodes we're using in OVH both use eth0. This also
fixes a typo when setting monitor_interface in the json file used by
extra-vars.

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
ceph-ansible-pull-requests/build/build

index 05e520d3e6fec104ae3601bea7c28f88fcc20641..6b3d281b466ae9dfdc612c615ceb0f031edc78a8 100644 (file)
@@ -12,8 +12,8 @@ devices='["/dev/vdb"]'
 ceph_stable="true"
 journal_collocation="true"
 journal_size=1024
-# use eth1 for libvirt and ubuntu, enp0s8 for CentOS
-monitor_interface="eth1"
+# both our trusty and centos nodes created in OVH use eth0
+monitor_interface="eth0"
 cluster_network="127.0.0.1/0"
 public_network="127.0.0.1/0"
 # the default settings include a setting for vm.min_free_kbytes which asks
@@ -28,7 +28,7 @@ cat > $HOME/test-vars.json << EOF
     "ceph_stable":$ceph_stable,
     "journal_collocation":$journal_collocation,
     "journal_size":$journal_size,
-    "monitor_interface":"$monitor_interace",
+    "monitor_interface":"$monitor_interface",
     "cluster_network":"$cluster_network",
     "public_network":"$cluster_network",
     "os_tuning_params":$os_tuning_params,