Einspielung Version 0016_14.1.2.0
This commit is contained in:
187
playbook.yml
Normal file
187
playbook.yml
Normal file
@@ -0,0 +1,187 @@
|
||||
---
|
||||
#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
|
||||
- ams_0016_14.1.2.0
|
||||
- ams_0016_14.1.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_0015_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
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user