Join Ubuntu as a member server to Active Directory
Domain Admins have sudo rights
- Ubuntu 16.04lts / 18.04lts AMD64
- Active Direcory (2008r2 and up)
- Ansible-role-ntp-server
See default/main.yml for detailed information.
This is an example how to use the role:
- hosts: ad-members
become: true
vars:
# -- custom settings - ansible-role-samba4-ad-member --
smb_workgroup: EXAMPLE
smb_realm: EXAMPLE.LOCAL
smb_dns_servers: 192.168.0.1 192.168.0.2
smb_username: adm_ansible
smb_password: '{{ ad_admin_pass }}'
roles:
- ansible-role-samba4-ad-member
Thanks goes to all the authors and participants from the sources below, so I could write this Anisble role.