roles/winbind: Actually perform domain join

This commit is contained in:
2018-07-24 21:01:44 -05:00
parent 11dc40bc76
commit e8f9f48bfd
3 changed files with 113 additions and 0 deletions

View File

@@ -36,3 +36,9 @@
template:
src=default-realm.krb5.conf.j2
dest=/etc/krb5.conf.d/default-realm.conf
- name: ensure machine is a member of the domain
ads_member:
username: '{{ winbind_join_username }}'
password: '{{ winbind_join_password }}'
state: joined