summaryrefslogtreecommitdiffstats
path: root/deploy/adapters/ansible/roles/odl_cluster/tasks
diff options
context:
space:
mode:
authorJustin chi <chigang@huawei.com>2017-02-28 12:38:28 +0000
committerGerrit Code Review <gerrit@opnfv.org>2017-02-28 12:38:28 +0000
commitceec6112afca5350c512d78678009d4eae27ae54 (patch)
tree18abba38343a32d38abc84f8d3bdeb20c1c995fe /deploy/adapters/ansible/roles/odl_cluster/tasks
parent1fb21b2816b0658b98cc7a7114e65650ffc2bb8f (diff)
parent4d202848c3ab31c38bec10646ce1ab9e7af43222 (diff)
Merge "Add License header for files without it"
Diffstat (limited to 'deploy/adapters/ansible/roles/odl_cluster/tasks')
-rw-r--r--deploy/adapters/ansible/roles/odl_cluster/tasks/01_03_copy_odl_configuration_files.yml11
1 files changed, 3 insertions, 8 deletions
diff --git a/deploy/adapters/ansible/roles/odl_cluster/tasks/01_03_copy_odl_configuration_files.yml b/deploy/adapters/ansible/roles/odl_cluster/tasks/01_03_copy_odl_configuration_files.yml
index 41aca7ee..0d4043e0 100644
--- a/deploy/adapters/ansible/roles/odl_cluster/tasks/01_03_copy_odl_configuration_files.yml
+++ b/deploy/adapters/ansible/roles/odl_cluster/tasks/01_03_copy_odl_configuration_files.yml
@@ -50,11 +50,6 @@
command: su -s /bin/sh -c "/opt/acl_conf.sh;"
- name: create tomcat config
- template:
- src: tomcat-server.xml
- dest: "{{ odl_home }}/configuration/tomcat-server.xml"
-
-- name: create tomcat config
- template:
- src: jetty.xml
- dest: "{{ odl_home }}/etc/jetty.xml"
+ shell: >
+ sed -i 's/port="8282"/port="{{ odl_api_port }}"/'
+ {{ odl_home }}configuration/tomcat-server.xml