Unsupported parameters being passed to win_uri, ansible.legacy.uri
Ran the role against a windows host after setting icinga api creds, got these errors:
TASK [sol1-icinga2_director_satellite : Get Icinga client ticket from icinga api (win)] *****************************************************************************************************************************************************
ASYNC FAILED on bldigiservera: jid=142398489407.2692
[DEPRECATION WARNING]: Alias 'password' is deprecated. See the module docs for more information. This feature will be removed from ansible.windows in a release after 2022-07-01. Deprecation warnings can be disabled by setting
deprecation_warnings=False in ansible.cfg.
[DEPRECATION WARNING]: Alias 'user' is deprecated. See the module docs for more information. This feature will be removed from ansible.windows in a release after 2022-07-01. Deprecation warnings can be disabled by setting
deprecation_warnings=False in ansible.cfg.
fatal: [bldigiservera]: FAILED! => {"ansible_async_watchdog_pid": 8724, "ansible_job_id": "142398489407.2692", "changed": false, "finished": 1, "msg": "Unsupported parameters for (win_uri) module: body_format. Supported parameters include: url, use_proxy, body, return_content, content_type, follow_redirects, client_cert_password, http_agent, url_method, url_password, maximum_redirection, use_default_credential, validate_certs, force_basic_auth, client_cert, proxy_password, creates, headers, status_code, proxy_url, proxy_use_default_credential, url_timeout, removes, dest, proxy_username, url_username, method, password, timeout, user, username", "results_file": "C:\\Users\\sa_ansible\\.ansible_async\\142398489407.2692", "started": 1, "stderr": "", "stderr_lines": [], "stdout": "", "stdout_lines": []}
...ignoring
TASK [sol1-icinga2_director_satellite : Icinga ticket from icinga api json (win)] ***********************************************************************************************************************************************************
skipping: [bldigiservera]
TASK [sol1-icinga2_director_satellite : Get Icinga client ticket from icinga api (localhost with proxy)] ************************************************************************************************************************************
fatal: [bldigiservera -> localhost]: FAILED! => {"changed": false, "msg": "Unsupported parameters for (ansible.legacy.uri) module: proxy_url. Supported parameters include: group, validate_certs, follow_redirects, unredirected_headers, method, removes, status_code, headers, src, serole, timeout, client_key, client_cert, selevel, seuser, return_content, url_username (user), force (thirsty), unix_socket, unsafe_writes, force_basic_auth, use_gssapi, dest, owner, body_format, mode, url_password (password), url, setype, body, http_agent, ca_path, creates, remote_src, use_proxy, attributes (attr)."}
...ignoring
TASK [sol1-icinga2_director_satellite : Icinga ticket from icinga api json (localhost with proxy)] ******************************************************************************************************************************************
skipping: [bldigiservera]
TASK [sol1-icinga2_director_satellite : Get Icinga client ticket from icinga api (localhost without proxy)] *********************************************************************************************************************************
fatal: [bldigiservera -> localhost]: FAILED! => {"changed": false, "content": "", "elapsed": 0, "msg": "Status code was -1 and not [200]: Request failed: <urlopen error Tunnel connection failed: 403 Forbidden>", "redirected": false, "status": -1, "url": "https://icinga.sky.net.local:5665/v1/actions/generate-ticket"}
...ignoring