New in version 2.3.
dns_domain_nameexists and is reachable. If the domain is not reachable, the domain is created in a new forest on the target Windows Server 2012R2+ host. This module may require subsequent use of the win_reboot action if changes are made.
the DNS name of the domain which should exist and be reachable or reside on the target Windows host
safe mode password for the domain controller
# ensure the named domain is reachable from the target host; if not, create the domain in a new forest residing on the target host - win_domain_controller: dns_domain_name: ansible.vagrant safe_mode_password: password123!
Common return values are documented here Return Values, the following are the fields unique to this module:
|reboot_required||True if changes were made that require a reboot.||always||boolean||True|
This module is flagged as preview which means that it is not guaranteed to have a backwards compatible interface.