edit 2004 tasks to use template
This commit is contained in:
committed by
GitHub Enterprise
parent
ee93d4b975
commit
67d529a88e
@@ -90,6 +90,11 @@
|
|||||||
when:
|
when:
|
||||||
- smb_dc_result.failed == true
|
- 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"
|
- 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 }}"
|
raw: "samba-tool domain provision --server-role=dc --use-rfc2307 --dns-backend=SAMBA_INTERNAL --realm={{ smb_realm }} --domain={{ smb_workgroup }} --adminpass={{ smb_password }}"
|
||||||
when:
|
when:
|
||||||
|
|||||||
Reference in New Issue
Block a user