Skip to content

Commit

Permalink
Update tomcat.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
leaddevops authored Mar 3, 2024
1 parent 6296c30 commit 59f337d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions ansible/playbooks/tomcat.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,15 @@
state: present
- name: task2 -- download tomcat bundle
get_url:
url: https://dlcdn.apache.org/tomcat/tomcat-9/v9.0.84/bin/apache-tomcat-9.0.84.tar.gz
url: https://dlcdn.apache.org/tomcat/tomcat-9/v9.0.86/bin/apache-tomcat-9.0.86.tar.gz
dest: /opt
- name: task3 -- extract the zip file
unarchive:
src: /opt/apache-tomcat-9.0.84.tar.gz # by default src it looks on the controller machine,where we execute the playbook
src: /opt/apache-tomcat-9.0.86.tar.gz # by default src it looks on the controller machine,where we execute the playbook
remote_src: yes
dest: /opt
- name: task4 -- rename the directory
shell: mv /opt/apache-tomcat-9.0.84 /opt/tomcat
shell: mv /opt/apache-tomcat-9.0.86 /opt/tomcat
- name: task5 -- create a linux group
group:
name: tomcat
Expand Down

0 comments on commit 59f337d

Please sign in to comment.