Make 'ldap', 'kerberos' and 'nfs' hostname aliases.
This commit is contained in:
parent
9d9da31649
commit
7f49b191ac
4 changed files with 25 additions and 1 deletions
|
@ -173,6 +173,15 @@
|
|||
- ldap
|
||||
when: not krb5kdc.stat.exists
|
||||
|
||||
- name: "make 'kerberos' an alias hostname resolvable from the LAN"
|
||||
replace:
|
||||
path: /etc/hosts
|
||||
regexp: "^({{ ipaddr_lan }}\\s.+)$"
|
||||
replace: '\1 kerberos'
|
||||
when: not krb5kdc.stat.exists
|
||||
|
||||
########################
|
||||
|
||||
- name: kerberize dummy user foo
|
||||
command: kadmin.local -q 'add_principal -pw "{{ foo_pwd }}" -x dn="uid=foo,ou=people,{{ basedn }}" foo'
|
||||
register: kerberize_result
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue