From 59f337dde391030154c306e16ace6a9deb03634c Mon Sep 17 00:00:00 2001 From: leaddevops <36464863+leaddevops@users.noreply.github.com> Date: Sun, 3 Mar 2024 20:03:59 +0530 Subject: [PATCH] Update tomcat.yaml --- ansible/playbooks/tomcat.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ansible/playbooks/tomcat.yaml b/ansible/playbooks/tomcat.yaml index b19c39b3..5e51eb31 100644 --- a/ansible/playbooks/tomcat.yaml +++ b/ansible/playbooks/tomcat.yaml @@ -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