Update main.yaml of tomcat-standalone tasks

Changed tomcat version to download from 7.0.42 -> 7.0.47

7.0.42 url returns 404 error.
This commit is contained in:
surukuntu 2013-12-26 12:06:28 -07:00
parent c96fba7c3e
commit 2d1ab3a0dc

View file

@ -3,13 +3,13 @@
yum: name=java-1.7.0-openjdk state=present yum: name=java-1.7.0-openjdk state=present
- name: Download Tomcat - name: Download Tomcat
get_url: url=http://mirror.symnds.com/software/Apache/tomcat/tomcat-7/v7.0.42/bin/apache-tomcat-7.0.42.tar.gz dest=/opt/apache-tomcat-7.0.42.tar.gz get_url: url=http://mirror.symnds.com/software/Apache/tomcat/tomcat-7/v7.0.47/bin/apache-tomcat-7.0.47.tar.gz dest=/opt/apache-tomcat-7.0.47.tar.gz
- name: Extract archive - name: Extract archive
command: chdir=/usr/share /bin/tar xvf /opt/apache-tomcat-7.0.42.tar.gz -C /usr/share/ creates=/usr/share/tomcat command: chdir=/usr/share /bin/tar xvf /opt/apache-tomcat-7.0.47.tar.gz -C /usr/share/ creates=/usr/share/tomcat
- name: Symlink install directory - name: Symlink install directory
file: src=/usr/share/apache-tomcat-7.0.42 path=/usr/share/tomcat state=link file: src=/usr/share/apache-tomcat-7.0.47 path=/usr/share/tomcat state=link
- name: Add group "tomcat" - name: Add group "tomcat"
group: name=tomcat group: name=tomcat