summaryrefslogtreecommitdiffstats
path: root/plugins/odl_sfc/roles/setup-odl-sfc/tasks/control-hosts-1.yml
diff options
context:
space:
mode:
authorJustin chi <chigang@huawei.com>2017-09-15 07:50:29 +0000
committerGerrit Code Review <gerrit@opnfv.org>2017-09-15 07:50:29 +0000
commitb241c1a733e57556a524165c68c9b3cd0f8348b8 (patch)
treef6c39007ca9beeedb38352f6e047bd91b2921902 /plugins/odl_sfc/roles/setup-odl-sfc/tasks/control-hosts-1.yml
parent3a02fa184ae313fb4869b86c8e72141551657df2 (diff)
parentf52b7b63a2d8e4b820b3a3cea07f225aaed1de23 (diff)
Merge "Upgrade odl from carbon to nitrogen"
Diffstat (limited to 'plugins/odl_sfc/roles/setup-odl-sfc/tasks/control-hosts-1.yml')
-rwxr-xr-xplugins/odl_sfc/roles/setup-odl-sfc/tasks/control-hosts-1.yml5
1 files changed, 5 insertions, 0 deletions
diff --git a/plugins/odl_sfc/roles/setup-odl-sfc/tasks/control-hosts-1.yml b/plugins/odl_sfc/roles/setup-odl-sfc/tasks/control-hosts-1.yml
index 6879340e..9ca27e0a 100755
--- a/plugins/odl_sfc/roles/setup-odl-sfc/tasks/control-hosts-1.yml
+++ b/plugins/odl_sfc/roles/setup-odl-sfc/tasks/control-hosts-1.yml
@@ -94,6 +94,11 @@
sed -i 's/port="8282"/port="8081"/'
{{ odl_home }}configuration/tomcat-server.xml
+- name: modify 8181 to 8081
+ shell: >
+ sed -i 's/8181/8081/'
+ {{ odl_home }}etc/org.ops4j.pax.web.cfg
+
- name: remove karaf data directory
file:
path: "{{ odl_home }}data"