diff options
author | 2016-10-16 04:24:46 +0000 | |
---|---|---|
committer | 2016-10-16 04:24:46 +0000 | |
commit | 4c5892d191475c852ef78396b98749c98df2c3e3 (patch) | |
tree | 3902a83076086522770c89b378940ba6d236fb97 /deploy/adapters/ansible/roles/open-contrail/tasks/provision/provision-compute.yml | |
parent | c85cae06ce80e7090b707974a50ab32de4aec28b (diff) | |
parent | 590c421a0ca417820cc2316a08184e116b3e6a74 (diff) |
Merge "Move all the tar packages in compass4nfv repo to deploy ISO"
Diffstat (limited to 'deploy/adapters/ansible/roles/open-contrail/tasks/provision/provision-compute.yml')
-rwxr-xr-x | deploy/adapters/ansible/roles/open-contrail/tasks/provision/provision-compute.yml | 15 |
1 files changed, 11 insertions, 4 deletions
diff --git a/deploy/adapters/ansible/roles/open-contrail/tasks/provision/provision-compute.yml b/deploy/adapters/ansible/roles/open-contrail/tasks/provision/provision-compute.yml index d9258ef5..374c4e13 100755 --- a/deploy/adapters/ansible/roles/open-contrail/tasks/provision/provision-compute.yml +++ b/deploy/adapters/ansible/roles/open-contrail/tasks/provision/provision-compute.yml @@ -221,10 +221,17 @@ ###################### nova plugin workaround ####################### ####################################################################### -- name: "copy nova plugs on compute" - copy: - src: "../../templates/nova_contrail_vif.tar.gz" - dest: "/opt/nova_contrail_vif.tar.gz" +#- name: "copy nova plugs on compute" +# copy: +# src: "../../templates/nova_contrail_vif.tar.gz" +# dest: "/opt/nova_contrail_vif.tar.gz" + +- name: get image http server + shell: awk -F'=' '/compass_server/ {print $2}' /etc/compass.conf + register: http_server + +- name: download nova plugin package + get_url: url="http://{{ http_server.stdout_lines[0] }}/packages/open-contrail/{{ nova_plugin }}" dest=/opt/ - name: "unzip nova plugs" command: su -s /bin/sh -c "tar xzf /opt/nova_contrail_vif.tar.gz -C /opt/" |