diff options
author | Justin chi <chigang@huawei.com> | 2016-11-24 08:42:09 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@opnfv.org> | 2016-11-24 08:42:09 +0000 |
commit | 168672fc169cac866f9689260c105cf141a567ad (patch) | |
tree | f4e3e806117cf980dd80094ea8a745e280be994f /deploy/adapters/ansible/roles/odl_cluster | |
parent | ed09a78e4a368958ee3097a3f35c139f713dc447 (diff) | |
parent | 3603b5a855b4e4553d3ea127f0833a5a89423dd0 (diff) |
Merge "Bug fix for jdk8 installation" into stable/colorado
Diffstat (limited to 'deploy/adapters/ansible/roles/odl_cluster')
-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 |
2 files changed, 8 insertions, 2 deletions
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" |