From 3aa25d88a034dbc5072f64d0783776acbd9a678e Mon Sep 17 00:00:00 2001 From: Andrea Dell'Amico Date: Wed, 5 Sep 2018 10:52:19 +0200 Subject: [PATCH] Remove some unused tasks. --- smartgears/smartgears/tasks/smartgears-app.yml | 18 ------------------ 1 file changed, 18 deletions(-) diff --git a/smartgears/smartgears/tasks/smartgears-app.yml b/smartgears/smartgears/tasks/smartgears-app.yml index 799c297..95b2303 100644 --- a/smartgears/smartgears/tasks/smartgears-app.yml +++ b/smartgears/smartgears/tasks/smartgears-app.yml @@ -122,24 +122,6 @@ when: smartgears_real_version is defined tags: [ 'smartgears', 'smartgears_distribution', 'tomcat', 'smartgears_conf' ] -# - name: Create a file with the -# copy: content={{ smartgears_real_version.stdout }} dest={{ smartgears_user_home }}/SMARTGEARS_VERSION owner=root group={{ smartgears_user }} mode=0444 force=yes -# when: smartgears_real_version is defined -# tags: [ 'smartgears', 'smartgears_distribution', 'smartgears_conf', 'tomcat' ] - -# - name: Check if we have a smartgears version file -# stat: path={{ smartgears_user_home }}/SMARTGEARS_VERSION -# register: sm_version_file -# tags: [ 'smartgears', 'smartgears_distribution', 'tomcat', 'smartgears_conf' ] - -# - name: Use the version file if we are not installing a new version -# command: cat {{ smartgears_user_home }}/SMARTGEARS_VERSION -# when: -# - sm_version_file.stat.exists -# - smartgears_download is not defined or not ( smartgears_download is changed ) -# register: smartgears_real_version -# tags: [ 'smartgears', 'smartgears_distribution', 'tomcat', 'smartgears_conf' ] - - name: Set the real smartgears distribution version set_fact: smartgears_real_distribution_version="{{ smartgears_real_version.stdout }}" tags: [ 'smartgears', 'smartgears_distribution', 'tomcat', 'smartgears_conf' ]