mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-20 06:25: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
|
- name: Copy spring-petclinic
|
||||||
copy:
|
copy:
|
||||||
src: target/spring-petclinic-1.5.1.jar
|
src: target/spring-petclinic.jar
|
||||||
dest: /opt/spring-petclinic.jar
|
dest: /opt/spring-petclinic.jar
|
||||||
owner: deploy
|
owner: deploy
|
||||||
mode: u+rwx
|
mode: u+rwx
|
||||||
notify:
|
notify:
|
||||||
- restart service
|
- restart service
|
||||||
|
|
||||||
|
- name: Enable service
|
||||||
|
service:
|
||||||
|
name: spring-petclinic
|
||||||
|
enabled: yes
|
||||||
|
|
||||||
handlers:
|
handlers:
|
||||||
- name: reload systemd
|
- name: reload systemd
|
||||||
systemd:
|
systemd:
|
||||||
|
|
1
pom.xml
1
pom.xml
|
@ -118,6 +118,7 @@
|
||||||
</dependencies>
|
</dependencies>
|
||||||
|
|
||||||
<build>
|
<build>
|
||||||
|
<finalName>spring-petclinic</finalName>
|
||||||
<plugins>
|
<plugins>
|
||||||
<plugin>
|
<plugin>
|
||||||
<groupId>org.springframework.boot</groupId>
|
<groupId>org.springframework.boot</groupId>
|
||||||
|
|
Loading…
Reference in a new issue