Handler fuer alle Umgebungen eingebaut
This commit is contained in:
parent
a159284b36
commit
8d93066106
@ -85,8 +85,6 @@
|
|||||||
owner: jetty
|
owner: jetty
|
||||||
group: dba
|
group: dba
|
||||||
mode: '0755'
|
mode: '0755'
|
||||||
notify:
|
|
||||||
- stopALL
|
|
||||||
- name: Copy file startALL with owner and permissions
|
- name: Copy file startALL with owner and permissions
|
||||||
copy:
|
copy:
|
||||||
src: ./files/startALL
|
src: ./files/startALL
|
||||||
|
66
site.yml
66
site.yml
@ -68,7 +68,28 @@
|
|||||||
#- ams_0013_8.0.9.0
|
#- ams_0013_8.0.9.0
|
||||||
#- 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
|
#- 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
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
##########################################################
|
##########################################################
|
||||||
@ -110,6 +154,28 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
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
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user