diff options
author | Justin chi <chigang@huawei.com> | 2016-10-16 04:25:58 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@opnfv.org> | 2016-10-16 04:25:58 +0000 |
commit | 78d1f808704a287cd2efb697c6af445280733c7f (patch) | |
tree | 06e2b2a11d81db542215f3bf8e508285f1843900 /deploy/adapters/ansible | |
parent | 93e9b3f033af56f2d4321ae39bf86c11b4e22d70 (diff) | |
parent | 1f39f0284d4452a67de41b1b196a36ad3fb9c82c (diff) |
Merge "Bug fix for jdk8 installation"
Diffstat (limited to 'deploy/adapters/ansible')
-rwxr-xr-x | deploy/adapters/ansible/openstack_mitaka_xenial/roles/odl_cluster/tasks/odl_controller.yml | 10 | ||||
-rwxr-xr-x | deploy/adapters/ansible/roles/odl_cluster/files/install_jdk8.tar | bin | 4608 -> 0 bytes | |||
-rwxr-xr-x | deploy/adapters/ansible/roles/odl_cluster/tasks/odl_controller.yml | 10 | ||||
-rwxr-xr-x | deploy/adapters/ansible/roles/onos_cluster/files/install_jdk8.tar | bin | 4608 -> 0 bytes | |||
-rw-r--r-- | deploy/adapters/ansible/roles/onos_cluster/files/networking-onos.tar | bin | 153600 -> 0 bytes |
5 files changed, 16 insertions, 4 deletions
diff --git a/deploy/adapters/ansible/openstack_mitaka_xenial/roles/odl_cluster/tasks/odl_controller.yml b/deploy/adapters/ansible/openstack_mitaka_xenial/roles/odl_cluster/tasks/odl_controller.yml index 4cf7948a..00e00ccb 100755 --- a/deploy/adapters/ansible/openstack_mitaka_xenial/roles/odl_cluster/tasks/odl_controller.yml +++ b/deploy/adapters/ansible/openstack_mitaka_xenial/roles/odl_cluster/tasks/odl_controller.yml @@ -21,8 +21,14 @@ #" -- name: upload install_jdk8 scripts - unarchive: src=install_jdk8.tar dest=/opt/ +- name: download oracle-jdk8 script file + get_url: url="http://{{ http_server.stdout_lines[0] }}/packages/onos/{{ jdk8_script_name }}" dest=/opt/ + +- name: unarchive onos driver package + command: su -s /bin/sh -c "tar xvf /opt/install_jdk8.tar -C /opt/" + +#- name: upload install_jdk8 scripts +# unarchive: src=install_jdk8.tar dest=/opt/ - name: install install_jdk8 package command: su -s /bin/sh -c "/opt/install_jdk8/install_jdk8.sh" diff --git a/deploy/adapters/ansible/roles/odl_cluster/files/install_jdk8.tar b/deploy/adapters/ansible/roles/odl_cluster/files/install_jdk8.tar Binary files differdeleted file mode 100755 index faaaeb39..00000000 --- a/deploy/adapters/ansible/roles/odl_cluster/files/install_jdk8.tar +++ /dev/null diff --git a/deploy/adapters/ansible/roles/odl_cluster/tasks/odl_controller.yml b/deploy/adapters/ansible/roles/odl_cluster/tasks/odl_controller.yml index f0ca1054..1ea5e0d2 100755 --- a/deploy/adapters/ansible/roles/odl_cluster/tasks/odl_controller.yml +++ b/deploy/adapters/ansible/roles/odl_cluster/tasks/odl_controller.yml @@ -21,8 +21,14 @@ #" -- name: upload install_jdk8 scripts - unarchive: src=install_jdk8.tar dest=/opt/ +- name: download oracle-jdk8 script file + get_url: url="http://{{ http_server.stdout_lines[0] }}/packages/onos/{{ jdk8_script_name }}" dest=/opt/ + +- name: unarchive onos driver package + command: su -s /bin/sh -c "tar xvf /opt/install_jdk8.tar -C /opt/" + +#- name: upload install_jdk8 scripts +# unarchive: src=install_jdk8.tar dest=/opt/ - name: install install_jdk8 package command: su -s /bin/sh -c "/opt/install_jdk8/install_jdk8.sh" diff --git a/deploy/adapters/ansible/roles/onos_cluster/files/install_jdk8.tar b/deploy/adapters/ansible/roles/onos_cluster/files/install_jdk8.tar Binary files differdeleted file mode 100755 index faaaeb39..00000000 --- a/deploy/adapters/ansible/roles/onos_cluster/files/install_jdk8.tar +++ /dev/null diff --git a/deploy/adapters/ansible/roles/onos_cluster/files/networking-onos.tar b/deploy/adapters/ansible/roles/onos_cluster/files/networking-onos.tar Binary files differdeleted file mode 100644 index 9358199c..00000000 --- a/deploy/adapters/ansible/roles/onos_cluster/files/networking-onos.tar +++ /dev/null |