Korrektur fuer git eingebaut und qs Umgebung eingebaut
This commit is contained in:
parent
e9544fc55a
commit
3fe97db68c
14
group_vars/qs.yml
Normal file
14
group_vars/qs.yml
Normal file
@ -0,0 +1,14 @@
|
|||||||
|
---
|
||||||
|
#aus /templates/pwd_Appserver.xml.j2 + /templates/pwd_ServiceIMP.xml.j2
|
||||||
|
|
||||||
|
## hier ist noch die DB der AMSE eingetragen, da die DBAler noch
|
||||||
|
## keine DB zum Zeitpunkt deeer Installation hatten 20200507 GI.
|
||||||
|
ams_DatabaseIPAdress: amse-vip.tpolizei-bw.de
|
||||||
|
ams_DatabasePort: 1531
|
||||||
|
ams_DatabaseServiceName: AMSE
|
||||||
|
ams_DatabaseName: AMS Entwicklung
|
||||||
|
ams_LogLevel: DEBUG
|
||||||
|
|
||||||
|
sso_host: "Host *.TPOLIZEI-BW.DE"
|
||||||
|
sso_domain_upper: "TPOLIZEI-BW.DE"
|
||||||
|
sso_domain_lower: "tpolizei-bw.de"
|
17
qs/hosts
Normal file
17
qs/hosts
Normal file
@ -0,0 +1,17 @@
|
|||||||
|
# This is the default ansible 'hosts' file.
|
||||||
|
#
|
||||||
|
# It should live in /etc/ansible/hosts
|
||||||
|
#
|
||||||
|
# - Comments begin with the '#' character
|
||||||
|
# - Blank lines are ignored
|
||||||
|
# - Groups of hosts are delimited by [header] elements
|
||||||
|
# - You can enter hostnames or ip addresses
|
||||||
|
# - A hostname/ip can be a member of multiple groups
|
||||||
|
|
||||||
|
# Ex 1: Ungrouped hosts, specify before any group headers.
|
||||||
|
|
||||||
|
[qs]
|
||||||
|
80.155.206.80
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -6,6 +6,15 @@
|
|||||||
owner: jetty
|
owner: jetty
|
||||||
group: dba
|
group: dba
|
||||||
mode: '0644'
|
mode: '0644'
|
||||||
|
- name: Create a directory /opt/rola if it does not exist
|
||||||
|
become: yes
|
||||||
|
become_user: root
|
||||||
|
file:
|
||||||
|
path: /opt/rola
|
||||||
|
state: directory
|
||||||
|
mode: '0755'
|
||||||
|
owner: jetty
|
||||||
|
group: dba
|
||||||
- name: Create a directory /opt/tmp if it does not exist
|
- name: Create a directory /opt/tmp if it does not exist
|
||||||
become: yes
|
become: yes
|
||||||
become_user: root
|
become_user: root
|
||||||
|
@ -15,8 +15,17 @@
|
|||||||
group: dba
|
group: dba
|
||||||
mode: '0644'
|
mode: '0644'
|
||||||
|
|
||||||
|
- name: check if /opt/rola/.git exists
|
||||||
|
shell: ls -ld /opt/rola/.git
|
||||||
|
register: result
|
||||||
|
ignore_errors: true
|
||||||
|
|
||||||
|
|
||||||
- name: Initialisiere leeres Repo innerhalb von /opt/rola
|
- name: Initialisiere leeres Repo innerhalb von /opt/rola
|
||||||
command: git init /opt/rola/
|
command: git init /opt/rola/
|
||||||
|
when: result.stdout == ''
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
# Mehr habe ich nicht gemacht,
|
# Mehr habe ich nicht gemacht,
|
||||||
# git add .
|
# git add .
|
||||||
|
@ -1 +1 @@
|
|||||||
80.155.206.72
|
80.155.206.80
|
||||||
|
19
site.yml
19
site.yml
@ -12,12 +12,29 @@
|
|||||||
|
|
||||||
roles:
|
roles:
|
||||||
#- base_installation
|
#- base_installation
|
||||||
|
#- git
|
||||||
#- ams_0008_8.0.8.0
|
#- ams_0008_8.0.8.0
|
||||||
#- ams_sso
|
#- ams_sso
|
||||||
#- ams_0008_8.0.8.0_AdminServer
|
#- ams_0008_8.0.8.0_AdminServer
|
||||||
#- ams_0013_8.0.9.0
|
#- ams_0013_8.0.9.0
|
||||||
|
|
||||||
|
|
||||||
|
##########################################################
|
||||||
|
######### QS ##############
|
||||||
|
##########################################################
|
||||||
|
- name: Installation für QS-Umgebung
|
||||||
|
hosts: qs
|
||||||
|
become_user: jetty
|
||||||
|
become: yes
|
||||||
|
|
||||||
|
roles:
|
||||||
|
#- base_installation
|
||||||
|
- git
|
||||||
|
#- ams_0008_8.0.8.0
|
||||||
|
#- ams_sso
|
||||||
|
- ams_0008_8.0.8.0_AdminServer
|
||||||
|
- ams_0013_8.0.9.0
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
##########################################################
|
##########################################################
|
||||||
@ -30,6 +47,7 @@
|
|||||||
|
|
||||||
roles:
|
roles:
|
||||||
- base_installation
|
- base_installation
|
||||||
|
#- git
|
||||||
- git
|
- git
|
||||||
- ams_0008_8.0.8.0
|
- ams_0008_8.0.8.0
|
||||||
|
|
||||||
@ -46,6 +64,7 @@
|
|||||||
|
|
||||||
roles:
|
roles:
|
||||||
- base_installation
|
- base_installation
|
||||||
|
#- git
|
||||||
- git
|
- git
|
||||||
- ams_0008_8.0.8.0
|
- ams_0008_8.0.8.0
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user