Skip to content
Snippets Groups Projects
Commit 190b2daa authored by Jupiter Hu's avatar Jupiter Hu
Browse files

Fixed missing idap server ip entry in hosts

parent d1bd20ff
No related branches found
No related tags found
No related merge requests found
......@@ -23,6 +23,11 @@
template: src=ldap.conf.j2 dest=/etc/openldap/ldap.conf
sudo: true
- name: "Add LDAP server IP address to /etc/hosts"
lineinfile: dest=/etc/hosts line="{{ ldapServerHostIpLine }}" state=present insertafter=EOF
sudo: true
when: ldapServerHostIpLine is defined
- name: "Copy sssd.conf to ldap client"
template: src=sssd.j2 dest=/etc/sssd/sssd.conf owner=root group=root mode=600
sudo: true
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment