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
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -123,19 +123,19 @@
|
|||||||
state: absent
|
state: absent
|
||||||
- name: commit changes to git
|
- name: commit changes to git
|
||||||
shell: |
|
shell: |
|
||||||
git rm ams /linux/Services/plugins/rola/com.rola.rsframe.project.ams/com/rola/rscase/configfiles/gui/statedependentcols/SDCC_ASSERVAT.xml
|
git rm ams/linux/Services/plugins/rola/com.rola.rsframe.project.ams/com/rola/rscase/configfiles/gui/statedependentcols/SDCC_ASSERVAT.xml
|
||||||
git rm ams /linux/Services/plugins/rola/com.rola.rsframe.project.ams/com/rola/rscase/configfiles/gui/statedependentcols/SDCC_BERICHT.xml
|
git rm ams/linux/Services/plugins/rola/com.rola.rsframe.project.ams/com/rola/rscase/configfiles/gui/statedependentcols/SDCC_BERICHT.xml
|
||||||
git rm ams /linux/Services/plugins/rola/com.rola.rsframe.project.ams/com/rola/rscase/configfiles/gui/statedependentcols/SDCC_BETEILIGTE_STELLE.xml
|
git rm ams/linux/Services/plugins/rola/com.rola.rsframe.project.ams/com/rola/rscase/configfiles/gui/statedependentcols/SDCC_BETEILIGTE_STELLE.xml
|
||||||
git rm ams /linux/Services/plugins/rola/com.rola.rsframe.project.ams/com/rola/rscase/configfiles/gui/statedependentcols/SDCC_FARBANGABE.xml
|
git rm ams/linux/Services/plugins/rola/com.rola.rsframe.project.ams/com/rola/rscase/configfiles/gui/statedependentcols/SDCC_FARBANGABE.xml
|
||||||
git rm ams /linux/Services/plugins/rola/com.rola.rsframe.project.ams/com/rola/rscase/configfiles/gui/statedependentcols/SDCC_KATALOG_CODE226.xml
|
git rm ams/linux/Services/plugins/rola/com.rola.rsframe.project.ams/com/rola/rscase/configfiles/gui/statedependentcols/SDCC_KATALOG_CODE226.xml
|
||||||
git rm ams /linux/Services/plugins/rola/com.rola.rsframe.project.ams/com/rola/rscase/configfiles/gui/statedependentcols/SDCC_KATALOG_CODE295.xml
|
git rm ams/linux/Services/plugins/rola/com.rola.rsframe.project.ams/com/rola/rscase/configfiles/gui/statedependentcols/SDCC_KATALOG_CODE295.xml
|
||||||
git rm ams /linux/Services/plugins/rola/com.rola.rsframe.project.ams/com/rola/rscase/configfiles/gui/statedependentcols/SDCC_KFZ_KENNZEICHENINFORMATION.xml
|
git rm ams/linux/Services/plugins/rola/com.rola.rsframe.project.ams/com/rola/rscase/configfiles/gui/statedependentcols/SDCC_KFZ_KENNZEICHENINFORMATION.xml
|
||||||
git rm ams /linux/Services/plugins/rola/com.rola.rsframe.project.ams/com/rola/rscase/configfiles/gui/statedependentcols/SDCC_MATERIAL.xml
|
git rm ams/linux/Services/plugins/rola/com.rola.rsframe.project.ams/com/rola/rscase/configfiles/gui/statedependentcols/SDCC_MATERIAL.xml
|
||||||
git rm ams /linux/Services/plugins/rola/com.rola.rsframe.project.ams/com/rola/rscase/configfiles/gui/statedependentcols/SDCC_MERKMAL.xml
|
git rm ams/linux/Services/plugins/rola/com.rola.rsframe.project.ams/com/rola/rscase/configfiles/gui/statedependentcols/SDCC_MERKMAL.xml
|
||||||
git rm ams /linux/Services/plugins/rola/com.rola.rsframe.project.ams/com/rola/rscase/configfiles/gui/statedependentcols/SDCC_NUMMERNANGABE_BEI_FAHRZEUGEN.xml
|
git rm ams/linux/Services/plugins/rola/com.rola.rsframe.project.ams/com/rola/rscase/configfiles/gui/statedependentcols/SDCC_NUMMERNANGABE_BEI_FAHRZEUGEN.xml
|
||||||
git rm ams /linux/Services/plugins/rola/com.rola.rsframe.project.ams/com/rola/rscase/configfiles/gui/statedependentcols/SDCC_PLZORT.xml
|
git rm ams/linux/Services/plugins/rola/com.rola.rsframe.project.ams/com/rola/rscase/configfiles/gui/statedependentcols/SDCC_PLZORT.xml
|
||||||
git rm ams /linux/Services/plugins/rola/com.rola.rsframe.project.ams/com/rola/rscase/configfiles/gui/statedependentcols/SDCC_TAETOWIERUNG.xml
|
git rm ams/linux/Services/plugins/rola/com.rola.rsframe.project.ams/com/rola/rscase/configfiles/gui/statedependentcols/SDCC_TAETOWIERUNG.xml
|
||||||
git rm ams /linux/Services/plugins/rola/com.rola.rsframe.project.ams/com/rola/rscase/configfiles/gui/statedependentcols/SDCC_ZULASSUNGSINFO_WFZ.xml
|
git rm ams/linux/Services/plugins/rola/com.rola.rsframe.project.ams/com/rola/rscase/configfiles/gui/statedependentcols/SDCC_ZULASSUNGSINFO_WFZ.xml
|
||||||
git add .
|
git add .
|
||||||
git -c user.name='Ansible Playbook' -c user.email='ansible@playbook' commit -m "ams_0008_8.0.8.0"
|
git -c user.name='Ansible Playbook' -c user.email='ansible@playbook' commit -m "ams_0008_8.0.8.0"
|
||||||
exit 0
|
exit 0
|
||||||
|
@ -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
|
||||||
|
@ -14,9 +14,18 @@
|
|||||||
owner: jetty
|
owner: jetty
|
||||||
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
|
||||||
|
21
site.yml
21
site.yml
@ -11,12 +11,29 @@
|
|||||||
become: yes
|
become: yes
|
||||||
|
|
||||||
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