Orange-Cyberdefense / GOAD

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

Problems in the ansible-playbook stage #155

Closed laolong123 closed 7 months ago

laolong123 commented 7 months ago

Always appearing “no hosts matched”

IMG_9380
laolong123 commented 7 months ago

where is the file hosts?

Mayfly277 commented 7 months ago

you missed the inventory files. (see here : https://github.com/Orange-Cyberdefense/GOAD/blob/main/docs/install_with_virtualbox.md#launch-provisioning-with-docker)

sudo docker run -ti --rm --network host -h goadansible -v $(pwd):/goad -w /goad/ansible goadansible ansible-playbook -i ../ad/GOAD/data/inventory -i ../ad/GOAD/providers/virtualbox/inventory main.yml