From 9ef596f974d064a4b6ddb8d95d08ea50008f17d0 Mon Sep 17 00:00:00 2001 From: Marcus Gillitzer Date: Mon, 1 Feb 2021 16:29:46 +0100 Subject: [PATCH] neues krb5.conf eingabaut, ABER... MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit es fehlen noch die keytabs die neu erstellt wurden. Die müssen noch eingefügt werden --- roles/ams_sso/tasks/main.yml | 28 ++-- roles/ams_sso/templates/krb5.conf.j2 | 2 +- site.yml | 187 --------------------------- 3 files changed, 15 insertions(+), 202 deletions(-) delete mode 100644 site.yml diff --git a/roles/ams_sso/tasks/main.yml b/roles/ams_sso/tasks/main.yml index bb22c5c..011e0e0 100644 --- a/roles/ams_sso/tasks/main.yml +++ b/roles/ams_sso/tasks/main.yml @@ -58,20 +58,20 @@ owner: root group: root mode: '0644' - - name: Template file rsWebserviceAppserver.xml.j2 with owner and permissions - template: - src: ./templates/rsWebserviceAppserver.xml.j2 - dest: /opt/rola/ams/linux/Appserver/config/rsWebserviceAppserver.xml - owner: jetty - group: dba - mode: '0644' - - name: Template file rsWebserviceAppserverAdmin.xml.j2 with owner and permissions - template: - src: ./templates/rsWebserviceAppserverAdmin.xml.j2 - dest: /opt/rola/ams/linux/Appserveradmin/config/rsWebserviceAppserver.xml - owner: jetty - group: dba - mode: '0644' + #- name: Template file rsWebserviceAppserver.xml.j2 with owner and permissions + #template: + #src: ./templates/rsWebserviceAppserver.xml.j2 + #dest: /opt/rola/ams/linux/Appserver/config/rsWebserviceAppserver.xml + #owner: jetty + #group: dba + #mode: '0644' + #- name: Template file rsWebserviceAppserverAdmin.xml.j2 with owner and permissions + #template: + #src: ./templates/rsWebserviceAppserverAdmin.xml.j2 + #dest: /opt/rola/ams/linux/Appserveradmin/config/rsWebserviceAppserver.xml + #owner: jetty + #group: dba + #mode: '0644' - name: Kdestroy zum löschen der alten Verbindung command: /usr/bin/kdestroy become: yes diff --git a/roles/ams_sso/templates/krb5.conf.j2 b/roles/ams_sso/templates/krb5.conf.j2 index d4f7090..c47d45c 100644 --- a/roles/ams_sso/templates/krb5.conf.j2 +++ b/roles/ams_sso/templates/krb5.conf.j2 @@ -9,7 +9,7 @@ includedir /etc/krb5.conf.d/ [libdefaults] dns_lookup_realm = false dns_lookup_kdc = false - kdc_timeout = 10sec + kdc_timeout = 5sec ticket_lifetime = 24h renew_lifetime = 7d forwardable = true diff --git a/site.yml b/site.yml deleted file mode 100644 index 0347a35..0000000 --- a/site.yml +++ /dev/null @@ -1,187 +0,0 @@ ---- -#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 - - - - #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 - - - - -