krb5.keytab für amse und amss eingebaut

This commit is contained in:
Marcus Gillitzer 2020-04-24 19:30:35 +02:00
parent 341a603008
commit 96097d3083
13 changed files with 20 additions and 10 deletions

View File

View File

Binary file not shown.

Binary file not shown.

View File

@ -26,17 +26,17 @@
owner: root owner: root
group: root group: root
mode: '0644' mode: '0644'
##hier muss noch eine Lösung gefunden werden für die zwei Prod-Server mit jeweils eigenen Dateien
##denkbar: host_vars und dort Variable auf den Quellpfad oder den Dateinamen
##noch nicht umgesetzt, da sich die Namen und Ordner noch ändern können - name: copy File remote from ./files/{{ ansible_hostname }}_krb5.keytab to /etc
##M. Gillitzer 20200401
- name: synchronize File remote from /sw/AMS/WEB/SSO_Komponenten/Keytabs_AMSE/krb5.keytab to /etc
become_user: root become_user: root
become: yes become: yes
synchronize: copy:
src: /sw/AMS/WEB/SSO_Komponenten/Keytabs_AMSE/krb5.keytab src: ./files/{{ ansible_hostname }}_krb5.keytab
dest: /etc/krb5.keytab dest: /etc/krb5.keytab
delegate_to: "{{ ansible_facts['default_ipv4']['address'] }}"
- name: Template file krb5.conf with owner and permissions - name: Template file krb5.conf with owner and permissions
become_user: root become_user: root
become: yes become: yes

View File

@ -0,0 +1,2 @@
---
sso_keytab: polsa5069stu02

View File

@ -0,0 +1,2 @@
---
sso_keytab: polsa5069bit03

View File

@ -0,0 +1,2 @@
---
sso_keytab: polsa5069stu02

View File

@ -0,0 +1,2 @@
---
sso_keytab: polsa5079bit03

View File

@ -0,0 +1,2 @@
---
sso_keytab: polsa5079stu02

View File

@ -13,9 +13,9 @@
roles: roles:
#- base_installation #- base_installation
#- 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