diff --git a/ansible-playbook.yml b/ansible-playbook.yml index d40a900..254a100 100644 --- a/ansible-playbook.yml +++ b/ansible-playbook.yml @@ -20,9 +20,9 @@ - name: "code copy" git: - repo: 'https://github.com/mailrahulsre/learnwithprojects.com.git' + repo: 'https://github.com/Masthansur/java-db-Login.git' dest: /var/www/html - version: master + version: ansible-project force: yes - name: copy the proxypass file @@ -79,7 +79,7 @@ - name: copy the war file aws_s3: - bucket: artifactory-03jul2020 + bucket: artifactory-05apr22 object: login##1.0.war dest: /etc/tomcat/webapps/login##1.0.war mode: get diff --git a/host.ini b/host.ini index 3374ba0..6c79205 100644 --- a/host.ini +++ b/host.ini @@ -1,2 +1,3 @@ [webservers] -172.31.20.203 +172.31.83.140 +54.165.233.74 diff --git a/roles/tomcat/tasks/tomcat8.yml b/roles/tomcat/tasks/tomcat8.yml index 4c29389..b9ef755 100644 --- a/roles/tomcat/tasks/tomcat8.yml +++ b/roles/tomcat/tasks/tomcat8.yml @@ -1,7 +1,7 @@ - name: Unarchive a tomcat tar from tomcat website unarchive: - src: https://mirrors.estointernet.in/apache/tomcat/tomcat-8/v{{ tomcatVersion }}/bin/apache-tomcat-{{ tomcatVersion }}.tar.gz + src: https://dlcdn.apache.org/tomcat/tomcat-8/v{{ tomcatVersion }}/bin/apache-tomcat-{{ tomcatVersion }}.tar.gz dest: /etc/ remote_src: yes owner: root diff --git a/roles/tomcat/vars/main.yml b/roles/tomcat/vars/main.yml index acd21d1..8e787d3 100644 --- a/roles/tomcat/vars/main.yml +++ b/roles/tomcat/vars/main.yml @@ -1,3 +1,3 @@ --- # vars file for /etc/ansible/roles/tomcat -tomcatVersion: 8.5.75 \ No newline at end of file +tomcatVersion: 8.5.78 diff --git a/src/main/webapp/index.html b/src/main/webapp/index.html index a80ae98..7116b61 100644 --- a/src/main/webapp/index.html +++ b/src/main/webapp/index.html @@ -1,6 +1,6 @@ -

Welcome to Ansible class. Project is copleted


+

Welcome to Ansible class. Project is going to complete


Login
Register