Handler fuer alle Umgebungen eingebaut

This commit is contained in:
Marcus Gillitzer 2020-06-23 12:34:20 +02:00
parent a159284b36
commit 8d93066106
2 changed files with 68 additions and 4 deletions

View File

@ -85,8 +85,6 @@
owner: jetty
group: dba
mode: '0755'
notify:
- stopALL
- name: Copy file startALL with owner and permissions
copy:
src: ./files/startALL

View File

@ -68,7 +68,28 @@
#- 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
async: 120
poll: 5
- name: startALL
command: ./startALL
args:
chdir: "/home/jetty"
async: 120
poll: 5
##########################################################
@ -89,6 +110,29 @@
#- 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
async: 120
poll: 5
- name: startALL
command: ./startALL
args:
chdir: "/home/jetty"
async: 120
poll: 5
##########################################################
@ -109,7 +153,29 @@
- 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
async: 120
poll: 5
- name: startALL
command: ./startALL
args:
chdir: "/home/jetty"
async: 120
poll: 5