Closed ycdxsb closed 6 months ago
Hi @ycdxsb,
thanks for reporting this issue.
So the win_inet_proxy
Ansible module failed to set the proxy.
The proxy value is gathered from the environment by windows.pkr.hcl
Maybe try to check if your proxy value has the expected format ? https://docs.ansible.com/ansible/latest/collections/community/windows/win_inet_proxy_module.html#parameter-proxy
If you can share your proxy variable, i could try to get a repro here.
Otherwise, running ansible with maximum verbosity should give you a hint at what's wrong.
Edit windows.pkr.hcl#146
and append many -v
flags to the ansible command line.
Additionaly i found a similar issue here https://github.com/ansible-collections/community.windows/issues/372
Thanks for your help, I think I have solved this issue. The problem is that the Python version of my Ubuntu 20.04 is Python 3.8, so I am using the old version of kafl.targets. This installs an old Ansible version 6.7.0 rather than 7.1.0 in the latest kafl.targets. The code related to win_inet_proxy in Ansible version 6.7.0 does not handle the exception shown above.
Thanks for your feedback on this, I will close the issue !
Hello, When I build qemu.windows, it failed in TASK [Configure IE proxy settings] The version of packer, vagrant and plugins are as below.
The failed log show as below.