JIRA: COMPASS-469
Change-Id: Iec6623d6089a94062f910b566d86b8ee7b885404
Signed-off-by: chenshuai@huawei.com <chenshuai@huawei.com>
User=root
Group=root
Type=simple
+EnvironmentFile=-/opt/moon-environment
WorkingDirectory=/opt/opendaylight-0.3.0
PermissionsStartOnly=true
ExecStartPre=
shell: rm -f {{ odl_home }}/etc/shiro.ini
- name: set moon env
- shell: >
- export MOON_SERVER_ADDR={{ internal_vip.ip }};
- export MOON_SERVER_PORT=5000;
- export no_proxy="localhost,127.0.0.1";
+ template: src=moon-environment dest=/opt/moon-environment
--- /dev/null
+MOON_SERVER_ADDR={{ internal_vip.ip }}
+MOON_SERVER_PORT=5000
+no_proxy="localhost,127.0.0.1"