hi , I am facing issue while installing software from local machine in windows.
----------------------------------------------------------------------------------------------------------------------------------------------
ansible-playbook 2.10.5
config file = /etc/ansible/ansible.cfg
configured module search path = ['/home/redhat/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules']
ansible python module location = /home/redhat/.local/lib/python3.8/site-packages/ansible
executable location = /usr/local/bin/ansible-playbook
python version = 3.8.5 (default, Jul 28 2020, 12:59:40) [GCC 9.3.0]
Using /etc/ansible/ansible.cfg as config file
host_list declined parsing /etc/ansible/hosts as it did not pass its verify_file() method
script declined parsing /etc/ansible/hosts as it did not pass its verify_file() method
auto declined parsing /etc/ansible/hosts as it did not pass its verify_file() method
Parsed /etc/ansible/hosts inventory source with ini plugin
redirecting (type: modules) ansible.builtin.win_package to ansible.windows.win_package
Skipping callback 'default', as we already have a stdout callback.
Skipping callback 'minimal', as we already have a stdout callback.
Skipping callback 'oneline', as we already have a stdout callback.
PLAYBOOK: install.yml ***********************************************************************************************************************************************************
1 plays in install.yml
PLAY [installing firefox] *******************************************************************************************************************************************************
META: ran handlers
TASK [install soft] *************************************************************************************************************************************************************
task path: /mnt/d/install.yml:5
redirecting (type: modules) ansible.builtin.win_package to ansible.windows.win_package
Using module file /home/redhat/.ansible/collections/ansible_collections/ansible/windows/plugins/modules/win_package.ps1
Pipelining is enabled.
<192.168.122.190> ESTABLISH WINRM CONNECTION FOR USER: Admin on PORT 5986 TO 192.168.122.190
EXEC (via pipeline wrapper)
fatal: [192.168.122.190]: FAILED! => {
"changed": false,
"invocation": {
"module_args": {
"arguments": null,
"chdir": null,
"client_cert": null,
"client_cert_password": null,
"creates_path": null,
"creates_service": null,
"creates_version": null,
"expected_return_code": [
0,
3010
],
"follow_redirects": "safe",
"force_basic_auth": false,
"headers": null,
"http_agent": "ansible-httpget",
"log_path": null,
"maximum_redirection": 50,
"password": null,
"path": "E:\\Soft\\\\UltraViewer_setup_6.2_eni.exe",
"product_id": null,
"provider": "auto",
"proxy_password": null,
"proxy_url": null,
"proxy_use_default_credential": false,
"proxy_username": null,
"state": "present",
"url_method": null,
"url_password": null,
"url_timeout": 30,
"url_username": null,
"use_default_credential": false,
"use_proxy": true,
"username": null,
"validate_certs": true,
"wait_for_children": false
}
},
"msg": "the file at the path 'E:\\Soft\\UltraViewer_setup_6.2_eni.exe' cannot be reached",
"reboot_required": false
}
PLAY RECAP **********************************************************************************************************************************************************************
192.168.122.190 : ok=0 changed=0 unreachable=0 failed=1 skipped=0 rescued=0 ignored=0
----------------------------------------------------------------------------------------------------------------------------------------------
configured module search path = ['/home/redhat/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules']
ansible python module location = /home/redhat/.local/lib/python3.8/site-packages/ansible