Add 'ldap' alias in ldap role.
This commit is contained in:
parent
429ca35a75
commit
bfee555f1e
3 changed files with 15 additions and 11 deletions
|
@ -87,6 +87,12 @@
|
|||
regexp: "^(TLS_CACERT\\s+/etc/ssl/certs/ca-certificates.crt)$"
|
||||
replace: '#\1\nTLS_CACERT\t{{ certpub }}'
|
||||
|
||||
- name: "make 'ldap' an alias hostname"
|
||||
replace:
|
||||
path: /etc/hosts
|
||||
regexp: "^({{ ipaddr_lan | ipaddr('address') }}\\s.+)$"
|
||||
replace: '\1 ldap'
|
||||
|
||||
- name: enable pam-mkhomedir
|
||||
command: pam-auth-update --enable mkhomedir
|
||||
when: foo_pwd is defined and foo_pwd | length > 0
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue