Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Getting this issue while installation of GOAD. Please help :) [-] Something wrong during the provisioning task : ad-parent_domain.yml #369

Open
TonyStark614 opened this issue Feb 21, 2025 · 4 comments

Comments

@TonyStark614
Copy link

TASK [domain_controller : Install XactiveDirectory] *****************************************************************************************************
fatal: [dc01]: FAILED! => {"changed": false, "msg": "Problems installing ActiveDirectoryDSC module: No match was found for the specified search criteria and module name 'ActiveDirectoryDSC'. Try Get-PSRepository to see all available registered module repositories.", "nuget_changed": false, "output": "", "repository_changed": false}
fatal: [dc03]: FAILED! => {"changed": false, "msg": "Problems installing ActiveDirectoryDSC module: No match was found for the specified search criteria and module name 'ActiveDirectoryDSC'. Try Get-PSRepository to see all available registered module repositories.", "nuget_changed": false, "output": "", "repository_changed": false}

PLAY RECAP **********************************************************************************************************************************************
dc01 : ok=14 changed=2 unreachable=0 failed=1 skipped=3 rescued=0 ignored=0
dc02 : ok=1 changed=0 unreachable=0 failed=0 skipped=0 rescued=0 ignored=0
dc03 : ok=9 changed=2 unreachable=0 failed=1 skipped=2 rescued=0 ignored=0
srv02 : ok=1 changed=0 unreachable=0 failed=0 skipped=0 rescued=0 ignored=0
srv03 : ok=1 changed=0 unreachable=0 failed=0 skipped=0 rescued=0 ignored=0

[-] 3 fails abort.
[-] Something wrong during the provisioning task : ad-parent_domain.yml

GOAD/virtualbox/local/192.168.57.X (4df19b-goad-virtualbox) >

@Gaurav-G2
Copy link

Gaurav-G2 commented Feb 26, 2025

I got the same issue.

To fix this issue what i did was logged in to the dc with rdp and default credentials that is vagrant:vagrant then change the dns setting in control panel network tab from 127.0.0.1 to

Image

After doing this you need to install ActiveDirectoryDSC service manually. Once above step is done make sure you have active internet connection. Then run the following command in powershelll

1.Unregister-PSRepository -Name "PSGallery"
2.Register-PSRepository -Default
3. Get-PSRepository --> make sure psgallery was trusted
4. Install-Module -Name xActiveDirectory -Force -AllowClobber
5. Install-Module -Name ActiveDirectoryDSC -Force -AllowClobber

Once this done run the install command again in GOAD interface. Let me know if any other error occurs

@Gaurav-G2
Copy link

@Mayfly277 This issue occur due to this step
[started TASK: domain_controller : disable the registration of the {{nat_adapter}} interface (NAT address) in DNS on dc.

Maybe disabling the registration at the end of installation will fix this

@TonyStark614
Copy link
Author

Sure @Gaurav-G2 , thanks for this bro. I will update the status soon here.

@TonyStark614
Copy link
Author

This worked @Gaurav-G2 , but got this error now : fatal: [srv02]: FAILED! => {"changed": true, "msg": "failed to join domain: Computer 'castelblack' failed to join domain 'north.sevenkingdoms.local' from its current workgroup 'WORKGROUP' with following error message: The specified domain either does not exist or could not be contacted.", "reboot_required": false}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants