newserver/site.yml
Marcus Gillitzer 699ac4f54c neue keytab-Datei von Ecki für AMSE eingebaut
zukünftig sollen die unter /sw/AMS/WEB/keytabs liegen.
Aktuell lag nur eine Datei, daher habe ich die noch in das Template kopiert
2020-10-15 14:05:54 +02:00

187 lines
3.9 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
#- ams_0014_14.0.2.0
#- ams_0014_14.0.2.0_AdminServer
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