Skip to content

bitfinity-nl/role-samba4-ad-member

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ansible-role-samba4-ad-member

Join Ubuntu as a member server to Active Directory

Domain Admins have sudo rights

Requirements

  • Ubuntu 16.04lts / 18.04lts AMD64
  • Active Direcory (2008r2 and up)
  • Ansible-role-ntp-server

Role Variables

See default/main.yml for detailed information.

Example Playbook

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 

Source(s)

Thanks goes to all the authors and participants from the sources below, so I could write this Anisble role.