hashicorp/vagrant · error
vagrant.provisioners.ansible.windows_not_supported_for_contr
Error message
vagrant.provisioners.ansible.windows_not_supported_for_control_machine
What it means
Error "vagrant.provisioners.ansible.windows_not_supported_for_control_machine" thrown in hashicorp/vagrant.
Source
Thrown at plugins/provisioners/ansible/provisioner/host.rb:39
def provision
# At this stage, the SSH access is guaranteed to be ready
@ssh_info = @machine.ssh_info
warn_for_unsupported_platform
check_files_existence
check_ansible_version_and_compatibility
execute_ansible_galaxy_from_host if config.galaxy_role_file
execute_ansible_playbook_from_host
end
protected
VAGRANT_ARG_SEPARATOR = 'VAGRANT_ARG_SEP'
def warn_for_unsupported_platform
if Vagrant::Util::Platform.windows?
@machine.env.ui.warn(I18n.t("vagrant.provisioners.ansible.windows_not_supported_for_control_machine") + "\n")
end
end
def check_ansible_version_and_compatibility
# This step will also fetch the Ansible version data into related instance variables
set_and_check_compatibility_mode
# Skip this check when not required, nor possible
if !@gathered_version || config.version.empty? || config.version.to_s.to_sym == :latest
return
end
if config.version != @gathered_version
raise Ansible::Errors::AnsibleVersionMismatch,
system: @control_machine,
required_version: config.version,
current_version: @gathered_version
endView on GitHub (pinned to 35f3160f4a)
When it happens
Trigger: Thrown at plugins/provisioners/ansible/provisioner/host.rb:39 when the library encounters an invalid state.
Common situations: See trigger scenarios.
AI-assisted analysis of hashicorp/vagrant@35f3160f4a (2026-08-21).
Data as JSON: /api/errors/b0bdbec840a11570.
Report an issue: GitHub.