add tag tomcat_conf on some tomcat-pkgs tasks
This commit is contained in:
parent
02aa0ad579
commit
1d0deb67f7
|
@ -50,18 +50,18 @@
|
||||||
template: src=tomcat-default.j2 dest=/etc/default/tomcat{{ tomcat_version }}
|
template: src=tomcat-default.j2 dest=/etc/default/tomcat{{ tomcat_version }}
|
||||||
when: tomcat_install_default_conf | bool
|
when: tomcat_install_default_conf | bool
|
||||||
notify: tomcat restart
|
notify: tomcat restart
|
||||||
tags: [ 'tomcat', 'tomcat_default' ]
|
tags: [ 'tomcat', 'tomcat_default', 'tomcat_conf' ]
|
||||||
|
|
||||||
- name: Configure tomcat server.xml
|
- name: Configure tomcat server.xml
|
||||||
template: src=tomcat-server.xml.j2 dest={{ tomcat_conf_dir }}/server.xml
|
template: src=tomcat-server.xml.j2 dest={{ tomcat_conf_dir }}/server.xml
|
||||||
when: tomcat_install_server_xml | bool
|
when: tomcat_install_server_xml | bool
|
||||||
notify: tomcat restart
|
notify: tomcat restart
|
||||||
tags: [ 'tomcat', 'tomcat_serverxml' ]
|
tags: [ 'tomcat', 'tomcat_serverxml', 'tomcat_conf' ]
|
||||||
|
|
||||||
- name: Configure tomcat web.xml
|
- name: Configure tomcat web.xml
|
||||||
template: src=tomcat-web.xml.j2 dest={{ tomcat_conf_dir }}/web.xml
|
template: src=tomcat-web.xml.j2 dest={{ tomcat_conf_dir }}/web.xml
|
||||||
notify: tomcat restart
|
notify: tomcat restart
|
||||||
tags: [ 'tomcat', 'tomcat_serverxml' ]
|
tags: [ 'tomcat', 'tomcat_serverxml', 'tomcat_conf' ]
|
||||||
|
|
||||||
- name: Install a slightly modified catalina.properties
|
- name: Install a slightly modified catalina.properties
|
||||||
copy: src=catalina.properties dest={{ tomcat_conf_dir }}/catalina.properties owner=root group={{ tomcat_user }} mode=0644
|
copy: src=catalina.properties dest={{ tomcat_conf_dir }}/catalina.properties owner=root group={{ tomcat_user }} mode=0644
|
||||||
|
|
Loading…
Reference in New Issue