forked from ISTI-ansible-roles/ansible-roles
Restart the tomcat instance after a logback.xml update.
This commit is contained in:
parent
04c74c3e67
commit
be5ff553de
|
@ -51,7 +51,7 @@ smartgears_log_use_timesize_appender: False
|
|||
smartgears_loglevel: WARN
|
||||
smartgears_dataanalysis_loglevel: DEBUG
|
||||
smartgears_log_max_history: 30
|
||||
smartgears_log_max_file_size: 10M
|
||||
smartgears_log_max_file_size: 10MB
|
||||
smartgears_log_total_file_cap: 2GB
|
||||
smartgears_log_dir: '{{ smartgears_user_home }}/tomcat/logs'
|
||||
smartgears_logback_template: True
|
||||
|
|
|
@ -76,6 +76,7 @@
|
|||
become_user: '{{ smartgears_user }}'
|
||||
template: src=logback.xml.j2 dest={{ smartgears_instance_path }}/lib/logback.xml
|
||||
when: smartgears_logback_template
|
||||
notify: Restart smartgears
|
||||
tags: [ 'smartgears', 'smartgears_conf', 'tomcat', 'logback_conf' ]
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue