Skip to content

Error message during windows-10 image provisioning

Provisioning of munikypo/windows-10 host during building sandbox fails with the following error message:

>manage-sandbox -v build
<- snip ->

==> controller: Running provisioner: ansible_local...
Vagrant gathered an unknown Ansible version:

ansible [core 2.11.4]

and falls back on the compatibility mode '1.8'.

Alternatively, the compatibility mode can be specified in your Vagrantfile:
https://www.vagrantup.com/docs/provisioning/ansible_common.html#compatibility_mode
    controller: Running ansible-playbook...

PLAY [Router configuration] ****************************************************
skipping: no hosts matched

PLAY [Linux configuration] *****************************************************
skipping: no hosts matched

PLAY [Windows configuration] ***************************************************

TASK [Gathering Facts] *********************************************************
fatal: [windows]: UNREACHABLE! => {"changed": false, "msg": "basic: HTTPConnectionPool(host='windows', port=5985): Max retries exceeded with url: /wsman (Caused by ConnectTimeoutError(<urllib3.connection.HTTPConnection object at 0x7f9cff62e6a0>, 'Connection to windows timed out. (connect timeout=30)'))", "unreachable": true}

PLAY RECAP *********************************************************************
windows                    : ok=0    changed=0    unreachable=1    failed=0    skipped=0    rescued=0    ignored=0

Ansible failed to complete successfully. Any error output should be
visible above. Please fix these errors and try again.

Sandbox building process has failed:
Could not execute command:
Command '['vagrant', 'up']' returned non-zero exit status 1.

Host OS: Windows 10
Vagrant version: 2.2.14
VBox version: 6.1.26
Topology definition in the attachment.win-sandbox.yml