mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-19 22:15:50 +00:00
Fixes ansible deployment
This commit is contained in:
parent
d55ae63656
commit
67481fe73b
2 changed files with 7 additions and 1 deletions
|
@ -14,13 +14,18 @@
|
|||
|
||||
- name: Copy spring-petclinic
|
||||
copy:
|
||||
src: target/spring-petclinic-1.5.1.jar
|
||||
src: target/spring-petclinic.jar
|
||||
dest: /opt/spring-petclinic.jar
|
||||
owner: deploy
|
||||
mode: u+rwx
|
||||
notify:
|
||||
- restart service
|
||||
|
||||
- name: Enable service
|
||||
service:
|
||||
name: spring-petclinic
|
||||
enabled: yes
|
||||
|
||||
handlers:
|
||||
- name: reload systemd
|
||||
systemd:
|
||||
|
|
1
pom.xml
1
pom.xml
|
@ -118,6 +118,7 @@
|
|||
</dependencies>
|
||||
|
||||
<build>
|
||||
<finalName>spring-petclinic</finalName>
|
||||
<plugins>
|
||||
<plugin>
|
||||
<groupId>org.springframework.boot</groupId>
|
||||
|
|
Loading…
Reference in a new issue