Skip to content

Commit c96b8f8

Browse files
Merge pull request #1059 from newrelic/pchinthapenta-NR-233117
Pchinthapenta nr 233117
2 parents 0aa92d5 + 8f5ce10 commit c96b8f8

File tree

4 files changed

+8
-3
lines changed

4 files changed

+8
-3
lines changed
File renamed without changes.
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<html>
2-
<body>
3-
<h2>Hello World!</h2>
4-
</body>
2+
<body>
3+
<h2>Hello World!</h2>
4+
</body>
55
</html>

test/deploy/linux/java/redhat/roles/configure/tasks/main.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,11 @@
2525
PATH: "{{ ansible_env.PATH }}:/opt/jdk-14.0.1/bin:/opt/apache-maven/bin"
2626
JRE_HOME: "/opt/jdk-14.0.1"
2727
become: true
28+
29+
- name: Change the permissions and ownership of javaApp directory
30+
shell: chown -R ec2-user:ec2-user /home/ec2-user/javaApp/ &&
31+
chmod -R 755 /home/ec2-user/javaApp
32+
become: true
2833

2934
- name: Move the package
3035
shell: mv /home/ec2-user/javaApp/target/javaApp.war /opt/tomcat/latest/webapps
File renamed without changes.

0 commit comments

Comments
 (0)