Displaying 1 result from an estimated 1 matches for "is_dc".
Did you mean:
if_dc
2020 Oct 21
1
Replication fails with (WERR_GEN_FAILURE)
...provision:
--------------
# Provison the first DC with bind9 als DNS-backend
- name: Do the provision if first DC
command: samba-tool domain provision --dns-backend=BIND9_DLZ
--realm={{kerberos_realm}} --domain={{domain_name}}
--adminpass={{admin_password}} --server-role=dc
when:
- is_dc.stdout == "0" and
group_first_dc in group_names
--------------
And this ist the join:
--------------
# Join DC to existing domain with bind9 as DNS-backend
- name: Do the join all other DC
command: samba-tool domain join {{dns_name}} --dns-backend=BIND9_DLZ
DC --realm={{ke...