newserver/site.yml
2020-09-16 11:35:49 +02:00

184 lines
3.8 KiB
YAML

---
#Installationsscript
##########################################################
######### Entwicklungsumgebung ##############
##########################################################
- name: Installation für Entwicklungsumgebung
hosts: development
become_user: jetty
become: yes
roles:
#- chrony
#- 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_hotfix
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
##########################################################
######### QS ##############
##########################################################
- name: Installation für QS-Umgebung
hosts: qs
become_user: jetty
become: yes
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
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
##########################################################
######### Produktionsumgebung ##############
##########################################################
- name: Installation für Produktionsumgebung
hosts: production
become_user: jetty
become: yes
roles:
- chrony
#- base_installation
#- git
#- ams_0008_8.0.8.0
#- ams_sso
#- ams_0008_8.0.8.0_AdminServer
#- 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
##########################################################
######### Schulungsumgebung ##############
##########################################################
- name: Installation für Schulungsumgebung
hosts: teaching
become_user: jetty
become: yes
roles:
- chrony
- base_installation
- git
- ams_0008_8.0.8.0
#- ams_sso
- ams_0008_8.0.8.0_AdminServer
- 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