RedHatGov / product-demos

GNU General Public License v3.0
31 stars 21 forks source link

WINDOWS / AD /Create Domain does not have sufficient verification #61

Open MKletz opened 1 year ago

MKletz commented 1 year ago

The below playbook does not have sufficient verification that the forest is operational before proceeding. Resulting in one of the following errors but will resolve itself if you wait ~10min and try again.

fatal: [win1]: FAILED! => {"changed": true, "msg": "Failed to install ADDSForest, DCPromo exited with 77: The specified argument 'InstallDNS' was not recognized.\r\n", "reboot_required": false}

failed: [win1] (item={'name': 'GroupA'}) => {"ansible_loop_var": "item", "changed": false, "created": false, "item": {"name": "GroupA"}, "msg": "failed to retrieve initial details for group GroupA: Unable to find a default server with Active Directory Web Services running."}

https://github.com/RedHatGov/product-demos/blob/main/windows/create_ad_domain.yml