tomcat-instance: fix right of copied tomcat conf

This commit is contained in:
Victor LABORIE 2017-04-21 15:14:56 +02:00
parent f7d886f03d
commit a90f59fc78
1 changed files with 5 additions and 5 deletions

View File

@ -14,6 +14,11 @@
- 'temp'
- 'lib'
- name: Copy conf dir
shell: "cd {{ tomcat_instance_root }}/{{ tomcat_instance_name }}/conf/ && cp /usr/share/tomcat7/skel/conf/* . && chmod 660 * && chown {{ tomcat_instance_name }}: *"
args:
creates: "{{ tomcat_instance_root }}/{{ tomcat_instance_name }}/conf/catalina.properties"
- name: Copy server.xml
template:
src: 'templates/server.xml.j2'
@ -23,11 +28,6 @@
group: "{{ tomcat_instance_name }}"
force: no
- name: Copy conf dir
shell: "cp /usr/share/tomcat7/skel/conf/* {{ tomcat_instance_root }}/{{ tomcat_instance_name }}/conf/"
args:
creates: "{{ tomcat_instance_root }}/{{ tomcat_instance_name }}/conf/catalina.properties"
- name: Copy env file
template:
src: 'templates/env.j2'