Remove some unused tasks.

This commit is contained in:
Andrea Dell'Amico 2018-09-05 10:52:19 +02:00
parent 1f3564b491
commit 3aa25d88a0
1 changed files with 0 additions and 18 deletions

View File

@ -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' ]