splunk / attack_range_local

Build a attack range in your local machine
Apache License 2.0
130 stars 39 forks source link

Installation failing at set-timezone .yml #41

Closed charlesbinny21arockia closed 3 years ago

charlesbinny21arockia commented 3 years ago

My installation is breaking down as its failing at the one of the ansible task. Please find the error message i am getting.

==> attack-range-windows-domain-controller: Checking if box 'd1vious/windows2016' version '1.0' is up to date... ==> attack-range-windows-domain-controller: Running provisioner: ansible... attack-range-windows-domain-controller: Running ansible-playbook... ERROR! couldn't resolve module/action 'community.windows.win_timezone'. This often indicates a misspelling, missing collection, or incorrect module path.

The error appears to be in '/Users/charlesbinny/attack_range_local/ansible/roles/windows_common/tasks/set-timezone.yml': line 2, column 3, but may be elsewhere in the file depending on the exact syntax problem.

The offending line appears to be:

Ansible failed to complete successfully. Any error output should be visible above. Please fix these errors and try again. 2021-04-12 23:12:12,256 - ERROR - attack_range - vagrant failed to build

kseidenschnur commented 3 years ago

Hi,

can you please make sure that the ansible extension is installed by executing following command: ansible-galaxy collection install community.windows Please make sure that you are in the correct environment.

You could also try to execute the deploy script again, this will also make sure that all dependencies are available.