This playbook installs AD DC using samba4. Tested on Ubuntu 20.04
Modify following items to run this playbook:
- inventory
- config.yaml
ansible-playbook -u <username> -K -k playbook.yaml- Open a Windows client and make sure DNS is set accordingly. (If you have no DNS server use DC as DNS)
- Find required menu to connect to domain
- Domain name is
workgroupinsideconfig.yaml. - Enter Administrator as username and
admin_passwordas password. (This is also set insideconfig.yaml) - Skip account add step.
- Login with users defined in
config.yaml