Add kerberize role (providing kerberized ssh so far).
This commit is contained in:
parent
be829760c6
commit
61e4b1d852
5 changed files with 41 additions and 6 deletions
18
roles/kerberize/tasks/main.yml
Normal file
18
roles/kerberize/tasks/main.yml
Normal 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"
|
Loading…
Add table
Add a link
Reference in a new issue