summaryrefslogtreecommitdiffstats
path: root/xci
diff options
context:
space:
mode:
authorManuel Buil <mbuil@suse.com>2019-08-06 20:28:26 +0000
committerGerrit Code Review <gerrit@opnfv.org>2019-08-06 20:28:26 +0000
commit248544a9ba6625d75ac2229183ed682d48a8d821 (patch)
treed9af647e38cd2d84d141fd54d1f01c9c8bb3d539 /xci
parenta139f306f7adb824032df74b4183a3b6fca2e42e (diff)
parent153fc3e2380a5cdc85d7866f170653e5e9df81f0 (diff)
Merge "Remove hardcoded ips"
Diffstat (limited to 'xci')
-rw-r--r--xci/installer/osh/playbooks/roles/install-osh-mini/tasks/main.yml4
1 files changed, 2 insertions, 2 deletions
diff --git a/xci/installer/osh/playbooks/roles/install-osh-mini/tasks/main.yml b/xci/installer/osh/playbooks/roles/install-osh-mini/tasks/main.yml
index 662f03d2..20a7c77e 100644
--- a/xci/installer/osh/playbooks/roles/install-osh-mini/tasks/main.yml
+++ b/xci/installer/osh/playbooks/roles/install-osh-mini/tasks/main.yml
@@ -81,7 +81,7 @@
chdir: /root/repos/openstack-helm
- name: Copy script to the worker node
- command: "scp -o \"StrictHostKeyChecking no\" tools/deployment/developer/ceph/170-setup-gateway.sh root@192.168.122.4:170-setup-gateway.sh"
+ command: "scp -o \"StrictHostKeyChecking no\" tools/deployment/developer/ceph/170-setup-gateway.sh root@{{ hostvars.node1.ip }}:170-setup-gateway.sh"
changed_when: false
args:
chdir: /root/repos/openstack-helm
@@ -89,7 +89,7 @@
- name: Setup the gateway to the public network at worker node
command: /root/170-setup-gateway.sh
changed_when: false
- delegate_to: 192.168.122.4
+ delegate_to: node1
- name: Add a route from opnfv to worker node for the public network
command: ip route add 172.24.4.0/24 via 192.168.122.4