From 3109567f0b0e073990de4155b60e40cbaab4a1a0 Mon Sep 17 00:00:00 2001 From: devopshydclub Date: Fri, 3 May 2019 20:23:18 +0530 Subject: [PATCH] changeg tomcat8 to tomcat svc name --- ansible/vpro-app-setup.yml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/ansible/vpro-app-setup.yml b/ansible/vpro-app-setup.yml index caac071e4..2bd26d55c 100644 --- a/ansible/vpro-app-setup.yml +++ b/ansible/vpro-app-setup.yml @@ -17,9 +17,9 @@ tags: - deploy - - name: Stop tomcat8 svc + - name: Stop tomcat svc service: - name: tomcat8 + name: tomcat state: stopped tags: - deploy @@ -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: @@ -98,5 +98,5 @@ handlers: - name: Restart Tomcat service: - name: tomcat8 + name: tomcat state: restarted