Skip to content

Commit

Permalink
changeg tomcat8 to tomcat svc name
Browse files Browse the repository at this point in the history
  • Loading branch information
devopshydclub committed May 3, 2019
1 parent 9c0e349 commit 3109567
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions ansible/vpro-app-setup.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@
tags:
- deploy

- name: Stop tomcat8 svc
- name: Stop tomcat svc
service:
name: tomcat8
name: tomcat
state: stopped
tags:
- deploy
Expand Down Expand Up @@ -66,14 +66,14 @@
chdir: /usr/local/tomcat8/webapps/

rescue:
- name: Start tomcat8 svc
- name: Start tomcat svc
service:
name: tomcat8
name: tomcat
state: started

- name: Start tomcat8 svc
- name: Start tomcat svc
service:
name: tomcat8
name: tomcat
state: started
when: deploy_info.changed
tags:
Expand All @@ -98,5 +98,5 @@
handlers:
- name: Restart Tomcat
service:
name: tomcat8
name: tomcat
state: restarted

0 comments on commit 3109567

Please sign in to comment.