diff --git a/playbook.yaml b/playbook.yaml index cbca85d9d..ba33b91d8 100644 --- a/playbook.yaml +++ b/playbook.yaml @@ -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: diff --git a/pom.xml b/pom.xml index 74f852cc7..a8a1eec00 100644 --- a/pom.xml +++ b/pom.xml @@ -118,6 +118,7 @@ + spring-petclinic org.springframework.boot