edit 2004 tasks to use template

This commit is contained in:
Pellegrino, Michael
2021-09-23 16:15:16 -04:00
committed by GitHub Enterprise
parent ee93d4b975
commit 67d529a88e

View File

@@ -90,6 +90,11 @@
when:
- smb_dc_result.failed == true
- name: "Transfer adc/smb.conf.j2 to /etc/samba/smb.conf"
template:
src: adc/smb.conf/j2
dest: /etc/samba/smb.conf
- name: "Start domain provisioning"
raw: "samba-tool domain provision --server-role=dc --use-rfc2307 --dns-backend=SAMBA_INTERNAL --realm={{ smb_realm }} --domain={{ smb_workgroup }} --adminpass={{ smb_password }}"
when: