Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions ansible-playbook.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down
3 changes: 2 additions & 1 deletion host.ini
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
[webservers]
172.31.20.203
172.31.83.140
54.165.233.74
2 changes: 1 addition & 1 deletion roles/tomcat/tasks/tomcat8.yml
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion roles/tomcat/vars/main.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
---
# vars file for /etc/ansible/roles/tomcat
tomcatVersion: 8.5.75
tomcatVersion: 8.5.78
2 changes: 1 addition & 1 deletion src/main/webapp/index.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<HTML>
<BODY bgcolor=pink>
<h1>Welcome to Ansible class. Project is copleted<h1><br>
<h1>Welcome to Ansible class. Project is going to complete<h1><br>
<a href="login.html">Login</a><br>
<a href="register.html">Register</a><br>
</BODY>
Expand Down