mirror of
https://git.lapiole.org/dani/ansible-roles.git
synced 2025-04-16 18:23:40 +02:00
11 lines
373 B
YAML
11 lines
373 B
YAML
---
|
|
|
|
# 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
|
|
|