From c0bd68fbf0c9f619e6ed998f12c2aac0be200733 Mon Sep 17 00:00:00 2001 From: Marcus Gillitzer Date: Tue, 16 Jun 2020 10:34:16 +0200 Subject: [PATCH] Korrektur site.yml --- roles/base_installation/tasks/main.yml | 2 ++ site.yml | 30 ++++++++++++++++++++++++-- 2 files changed, 30 insertions(+), 2 deletions(-) diff --git a/roles/base_installation/tasks/main.yml b/roles/base_installation/tasks/main.yml index 9997b9c..29d4f42 100644 --- a/roles/base_installation/tasks/main.yml +++ b/roles/base_installation/tasks/main.yml @@ -85,6 +85,8 @@ owner: jetty group: dba mode: '0755' + notify: + - stopALL - name: Copy file startALL with owner and permissions copy: src: ./files/startALL diff --git a/site.yml b/site.yml index a6e409c..911fe0c 100644 --- a/site.yml +++ b/site.yml @@ -18,6 +18,22 @@ #- ams_sso #- ams_0008_8.0.8.0_AdminServer #- ams_0013_8.0.9.0 + - ams_0013_8.0.9.0 + + + handlers: + - name: stopALL + command: ./stopALL + args: + chdir: "/home/jetty" + async: 1 + poll: 0 + + - name: Wait for status File Appserver is absent + local_action: + module: wait_for + path: /opt/rola/ams/linux/Appserver/service/rsWebserviceAppserver.status + state: absent ########################################################## @@ -31,12 +47,15 @@ roles: #- chrony #- base_installation + #- base_installation #- git #- ams_0008_8.0.8.0 #- ams_sso #- ams_0008_8.0.8.0_AdminServer - #- ams_0013_8.0.9.0 - + #- ams_0013_8.0.9.0 + #- ams_0013_8.0.9.0 + + ########################################################## @@ -76,3 +95,10 @@ - ams_0008_8.0.8.0_AdminServer - ams_0013_8.0.9.0 + + + + + + +