From 1b1f8a85f8d2dc7562ba1bb9b6c75d76498654e6 Mon Sep 17 00:00:00 2001 From: Roberto Date: Thu, 8 Feb 2018 15:12:42 +0100 Subject: [PATCH] removed Install the script that manages the smartgears loglevel, Change the smartgears log level from: ../library/roles/smartgears/smartgears/tasks/smartgears-app.yml, roles/smartgears-conf/tasks/smartgears-app.yml deleted some unused template files: roles/smartgears-conf/templates/smartgears-nrpe.cfg.j2, roles/smartgears-conf/templates/tomcat-instance-default.j2 --- smartgears/smartgears/tasks/smartgears-app.yml | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/smartgears/smartgears/tasks/smartgears-app.yml b/smartgears/smartgears/tasks/smartgears-app.yml index b6656d1..b84ac1b 100644 --- a/smartgears/smartgears/tasks/smartgears-app.yml +++ b/smartgears/smartgears/tasks/smartgears-app.yml @@ -88,19 +88,6 @@ copy: src=TokenGenerator.class dest=/usr/local/lib/TokenGenerator.class owner=root group=root mode=0644 tags: [ 'smartgears', 'smartgears_distribution', 'smartgears_conf', 'tomcat' ] -- name: Install the script that manages the smartgears loglevel - template: src=change-logback-loglevel.sh.j2 dest=/usr/local/bin/change-logback-loglevel owner=root group=root mode=0755 - with_items: '{{ tomcat_m_instances }}' - when: not item.skip_smartgears - tags: [ 'smartgears', 'smartgears_distribution', 'smartgears_loglevel', 'tomcat', 'logback_conf' ] - -- name: Change the smartgears log level - become: True - become_user: '{{ smartgears_user }}' - shell: /usr/local/bin/change-logback-loglevel - when: not smartgears_logback_template - tags: [ 'smartgears', 'smartgears_distribution', 'tomcat', 'smartgears_loglevel', 'logback_conf' ] - - name: Install the smartgears logback configuration become: True become_user: '{{ smartgears_user }}'