diff options
Diffstat (limited to 'xci/installer/osh/playbooks/roles/install-osh-mini/tasks/main.yml')
-rw-r--r-- | xci/installer/osh/playbooks/roles/install-osh-mini/tasks/main.yml | 19 |
1 files changed, 2 insertions, 17 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 e3fa2ddf..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 @@ -1,19 +1,4 @@ --- -- set_fact: - container_distro_name: "opensuse" - container_distro_version: "15" - cacheable: yes - when: osh_distro == 'opensuse' - tags: - - skip_ansible_lint - -- set_fact: - container_distro_name: "ubuntu" - container_distro_version: "xenial" - cacheable: yes - when: osh_distro == 'ubuntu' - tags: - - skip_ansible_lint - name: Setup Clients command: ./tools/deployment/common/setup-client.sh @@ -96,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 @@ -104,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 |