mirror of
https://github.com/geerlingguy/ansible-role-apache
synced 2025-01-10 20:00:18 +01:00
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:
parent
c96fba7c3e
commit
2d1ab3a0dc
1 changed files with 3 additions and 3 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue