aboutsummaryrefslogtreecommitdiffstats
path: root/deploy/adapters/ansible/roles/odl_cluster/tasks
diff options
context:
space:
mode:
authorJustin chi <chigang@huawei.com>2017-02-27 06:11:28 +0000
committerGerrit Code Review <gerrit@opnfv.org>2017-02-27 06:11:28 +0000
commit3485de734f87dbd4d99194dedf1b40e7476539f1 (patch)
tree88f9daa0e7ddc7431ce009af68e8ebe8714e54f8 /deploy/adapters/ansible/roles/odl_cluster/tasks
parentaa718861faaf0901677c54d8d350bce28f520e8c (diff)
parentb838c70f41b312978c75ab1a1960e5749981ed88 (diff)
Merge "Bug fix for odl l2"
Diffstat (limited to 'deploy/adapters/ansible/roles/odl_cluster/tasks')
-rw-r--r--deploy/adapters/ansible/roles/odl_cluster/tasks/01_02_unarchive_odl_and_jdk.yml2
-rw-r--r--deploy/adapters/ansible/roles/odl_cluster/tasks/01_04_install_pip_packages.yml2
2 files changed, 1 insertions, 3 deletions
diff --git a/deploy/adapters/ansible/roles/odl_cluster/tasks/01_02_unarchive_odl_and_jdk.yml b/deploy/adapters/ansible/roles/odl_cluster/tasks/01_02_unarchive_odl_and_jdk.yml
index 4dd8860f..9592a0ae 100644
--- a/deploy/adapters/ansible/roles/odl_cluster/tasks/01_02_unarchive_odl_and_jdk.yml
+++ b/deploy/adapters/ansible/roles/odl_cluster/tasks/01_02_unarchive_odl_and_jdk.yml
@@ -23,4 +23,4 @@
- name: extract odl package
command: |
su -s /bin/sh -c "tar xzf /opt/{{ odl_pkg_name }} -C {{ odl_home }} \
- --strip-components 1 --no-overwrite-dir -k --skip-old-files" odl
+ --strip-components 1" odl
diff --git a/deploy/adapters/ansible/roles/odl_cluster/tasks/01_04_install_pip_packages.yml b/deploy/adapters/ansible/roles/odl_cluster/tasks/01_04_install_pip_packages.yml
index 2610d618..fa418c6c 100644
--- a/deploy/adapters/ansible/roles/odl_cluster/tasks/01_04_install_pip_packages.yml
+++ b/deploy/adapters/ansible/roles/odl_cluster/tasks/01_04_install_pip_packages.yml
@@ -14,9 +14,7 @@
tar xf /opt/{{ networking_odl_pkg_name }}
rm -rf /opt/{{ networking_odl_pkg_name }}
sed -i 's/^neutron-lib.*/neutron-lib/' {{ odl_pip }}/requirements.txt
- pip install -r {{ odl_pip }}/requirements.txt
tar zcf /opt/{{ networking_odl_pkg_name }} {{ odl_pip }}
- rm -rf {{ odl_pip }}
cd -
- name: odl pip package install