Add kerberize role (providing kerberized ssh so far).

This commit is contained in:
Andreas B. Mundt 2019-11-29 15:47:45 +01:00
parent be829760c6
commit 61e4b1d852
5 changed files with 41 additions and 6 deletions

View file

@ -0,0 +1,18 @@
- name: kerberize sshd server
lineinfile:
dest: /etc/ssh/sshd_config
line: "GSSAPIAuthentication yes"
insertafter: "#GSSAPIAuthentication no"
notify: "reload sshd"
- name: kerberize ssh client, authenticate
lineinfile:
dest: /etc/ssh/ssh_config
line: "GSSAPIAuthentication yes"
insertafter: "# GSSAPIAuthentication no"
- name: kerberize ssh client, delegate credentials
lineinfile:
dest: /etc/ssh/ssh_config
line: "GSSAPIDelegateCredentials yes"
insertafter: "# GSSAPIDelegateCredentials no"