We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
wait: true
Hi @sbaerlocher, the .msi file installation fails because of the wait: true parameter in the win_package module
TASK [sbaerlocher.wmi_exporter : package : install wmi_exporter] ************************************************************************ task path: /home/user/.ansible/roles/sbaerlocher.wmi_exporter/tasks/install/package.yml:41 redirecting (type: modules) ansible.builtin.win_package to ansible.windows.win_package Using module file /home/user/.local/lib/python3.5/site-packages/ansible_collections/ansible/windows/plugins/modules/win_package.ps1 Pipelining is enabled. <x.x.x.x> ESTABLISH WINRM CONNECTION FOR USER: <redacted> on PORT 5986 TO x.x.x.x EXEC (via pipeline wrapper) fatal: [x.x.x.x]: FAILED! => { "changed": false, "invocation": { "module_args": { "arguments": "ENABLED_COLLECTORS=['cpu', 'cs', 'logical_disk', 'memory', 'net', 'os', 'process', 'service', 'system', 'textfile'] ", "path": "C:\\Users\\<redacted>\\AppData\\Local\\Temp\\wmi_exporter\\\\wmi_exporter.msi", "state": "present", "wait": true } }, "msg": "Unsupported parameters for (win_package) module: wait. Supported parameters include: validate_certs, use_proxy, username, proxy_password, arguments, force_basic_auth, http_agent, headers, expected_return_code, creates_path, password, proxy_use_default_credential, proxy_username, proxy_url, log_path, url_timeout, url_username, maximum_redirection, use_default_credential, client_cert, state, follow_redirects, creates_service, url_password, url_method, product_id, creates_version, chdir, client_cert_password, path, provider, user_name, user_password, ensure, productid" }
The text was updated successfully, but these errors were encountered:
in file ansible.wmi_exporter/tasks/install/package.yml replace in row 45 this wait: true with this wait_for_children: true
wait_for_children: true
Sorry, something went wrong.
I have the same issue, please fix this in mainstream
https://docs.ansible.com/ansible/latest/collections/ansible/windows/win_package_module.html#parameter-wait_for_children
No branches or pull requests
Hi @sbaerlocher,
the .msi file installation fails because of the
wait: true
parameter in the win_package moduleThe text was updated successfully, but these errors were encountered: