Orange-Cyberdefense / GOAD

game of active directory
GNU General Public License v3.0
5.06k stars 704 forks source link

TASK [domain_controller : Configure DNS Forwarders] FAILED! => {"changed": false, "msg": "Unhandled exception while executing module: Not found #262

Closed braaqwesi closed 1 month ago

braaqwesi commented 1 month ago

TASK [domain_controller : Configure DNS Forwarders] **** An exception occurred during task execution. To see the full traceback, use -vvv. The error was: at Microsoft.Management.Infrastructure.Internal.Operations.CimAsyncObserverProxyBase`1.ProcessNativeCallback(OperationCallbackProcessingContext callbackProcessingContext, T currentItem, Boolean moreResults, MiResult operationResult, String errorMessage, InstanceHandle errorDetailsHandle) fatal: [dc01]: FAILED! => {"changed": false, "msg": "Unhandled exception while executing module: Not found "} ok: [dc03] [started TASK: domain_controller : Install XactiveDirectory on dc03]

TASK [domain_controller : Install XactiveDirectory] **** ok: [dc03] [started TASK: domain_controller : Ensure Administrator is part of Enterprise Admins on dc03]

TASK [domain_controller : Ensure Administrator is part of Enterprise Admins] *** ok: [dc03] [started TASK: domain_controller : Ensure Administrator is part of Domain Admins on dc03]

TASK [domain_controller : Ensure Administrator is part of Domain Admins] *** ok: [dc03]

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

[!] Fatal error from ansible with exit code: 2 [!] We are going to retry [+] Restart counter: 1 [✓] Running command with timeout 30min: ansible-playbook -i ../ad/GOAD/data/inventory -i ../ad/GOAD/providers/virtualbox/inventory ad-parent_domain.yml

braaqwesi commented 1 month ago

manual configuration of a secondary DNS 8.8.8.8 on both DC1 and DC 3.. fixed all my issues