Role to promote a windows server to a domain controller into an existing AD domain
Adapter name or list of adapter names for which to manage DNS settings (’*’ is supported as a wildcard value). The adapter name used is the connection caption in the Network Control Panel or the InterfaceAlias of Get-DnsClientServerAddress. Example: win_addc_dns_client_adapter: "{{ ansible_interfaces[0].connection_name }}"
win_addc_dns_client_adapter:
Single or ordered list of DNS servers (IPv4 and IPv6 addresses) to configure for lookup. An empty list will configure the adapter to use the DHCP-assigned values on connections where DHCP is enabled, or disable DNS lookup on statically-configured connections. IPv6 DNS servers can only be set on Windows Server 2012 or newer, older hosts can only set IPv4 addresses.
win_addc_dns_client_dns_server_ips:
The DNS name of the domain for which the targeted Windows host should be a DC
win_addc_dns_domain_name: acme.local
List of IP addresses of upstream DNS servers
win_addc_dns_forwarders:
- 8.8.8.8
- 8.8.4.4
List of IP address of the host on which it should listen to DNS requests
win_addc_dns_listenaddresses:
- '{{ ansible_interfaces[0].ipv4.address }}'
Password for the specified domain admin user.
win_addc_domain_admin_password: SomeSecret343434
Username of a domain admin for the target domain (necessary to promote a domain controller).
win_addc_domain_admin_user: administrator@acme.local
Safe mode password for the domain controller
win_addc_safe_mode_password: SomeSecret343434_safemode
None.
license (GPL-2.0-or-later, MIT, etc)
andif888