mirror of
https://git.lapiole.org/dani/ansible-roles.git
synced 2025-08-07 00:57:00 +02:00
Update to 2021-12-01 19:13
This commit is contained in:
10
roles/samba/tasks/member_join.yml
Normal file
10
roles/samba/tasks/member_join.yml
Normal file
@@ -0,0 +1,10 @@
|
||||
---
|
||||
|
||||
# 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
|
||||
|
Reference in New Issue
Block a user