Ansible roles
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

10 lines
373 B

---
# We should already be in the domain with adcli, but this is an
# easy way to add cifs/hostname principal to our keytab, and is needed to
# populate the secrets in secrets.tdb, which adcli doesn't do
- name: Join the domain with net ads
command: net ads join {{ samba_realm | upper }} -U 'Administrator%{{ samba_dc_admin_pass }}'
no_log: True
tags: samba