fehlerhaft benanntes File für Schulung gelöscht
This commit is contained in:
@ -1,4 +1,12 @@
|
|||||||
---
|
---
|
||||||
|
##
|
||||||
|
- name: debug
|
||||||
|
debug:
|
||||||
|
var: ansible_facts
|
||||||
|
|
||||||
|
- name: debug
|
||||||
|
debug:
|
||||||
|
var: ansible_fqdn
|
||||||
##prüfen ob die erforderliche Software installiert ist
|
##prüfen ob die erforderliche Software installiert ist
|
||||||
- name: ensure software krb5-workstation and krb5-libs are installed
|
- name: ensure software krb5-workstation and krb5-libs are installed
|
||||||
yum:
|
yum:
|
||||||
@ -19,7 +27,9 @@
|
|||||||
owner: root
|
owner: root
|
||||||
group: root
|
group: root
|
||||||
mode: '0600'
|
mode: '0600'
|
||||||
- name: Template file ssh_config with owner and permissions
|
- name: Template file ssh_config with owner and permissions
|
||||||
|
become_user: root
|
||||||
|
become: yes
|
||||||
template:
|
template:
|
||||||
src: ./templates/ssh_config.j2
|
src: ./templates/ssh_config.j2
|
||||||
dest: /etc/ssh/ssh_config
|
dest: /etc/ssh/ssh_config
|
||||||
@ -63,9 +73,10 @@
|
|||||||
become: yes
|
become: yes
|
||||||
become_user: root
|
become_user: root
|
||||||
- name: Kinit zum erstellen der erstmaligen Verbindung
|
- name: Kinit zum erstellen der erstmaligen Verbindung
|
||||||
command: /usr/bin/kinit -k HOST/{{ ansible_fqdn }}@{{ sso_domain_upper }}
|
|
||||||
become: yes
|
become: yes
|
||||||
become_user: root
|
become_user: root
|
||||||
|
command: /usr/bin/kinit -k HOST/{{ ansible_fqdn }}@{{ sso_domain_upper }}
|
||||||
|
|
||||||
- name: commit changes to git
|
- name: commit changes to git
|
||||||
shell: |
|
shell: |
|
||||||
git add .
|
git add .
|
||||||
|
@ -1,2 +1 @@
|
|||||||
80.155.207.111
|
80.155.205.161
|
||||||
80.155.207.161
|
|
||||||
|
Reference in New Issue
Block a user