1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00
community.general/changelogs/fragments
patchback[bot] 41af1c3693
[PR #5431/490899f8 backport][stable-6] nmcli: two fixes needed to make wifi.wake-on-wlan settings work properly (#6051)
nmcli: two fixes needed to make wifi.wake-on-wlan settings work properly (#5431)

* nmcli: Convert current value of wifi.wake-on-wlan before comparing

The new value of wifi.wake-on-wlan is specified as an integer, but in
the nmcli output it's specified as a hex string followed by a textual
description of it. Therefore, to determine properly whether it's being
changed we need to pull the hex string out of the current value,
convert it into an integer, and finally convert the integer back to a
string so that we can compare it to the new specified value. Without
this change, whenever wifi.wake-on-wlan is specified in the module
arguments the module will think the value is being changed even when
it isn't.

* nmcli: Handle wifi options correctly when connection type not specified

When an nmcli task does not specify the connection type and the module
ask nmcli for it, the module needs to convert nmcli's
`802-11-wireless` to `wifi`, the term for this connection type used by
the module.

* nmcli: Correctly detect values changed to the integer 0

If the user specifies a value of 0 (without quotes) in a task, we
should interpret that as an actual value, not empty, when comparing
the new value to the old one. Otherwise we incorrectly conclude that
there was no change.

* Changelog fragment for #5431

(cherry picked from commit 490899f87f)

Co-authored-by: Jonathan Kamens <jik@kamens.us>
2023-02-24 09:29:49 +01:00
..
.keep Rename changelogs/fragments/.empty -> changelogs/fragments/.keep 2020-08-07 08:17:57 +02:00
5431-nmcli-wifi.yml [PR #5431/490899f8 backport][stable-6] nmcli: two fixes needed to make wifi.wake-on-wlan settings work properly (#6051) 2023-02-24 09:29:49 +01:00
5829-fix-yarn-global.yml [PR #5829/4c4ef80c backport][stable-6] yarn: Fix state=latest not working with global=true (#5992) 2023-02-13 22:07:12 +01:00
5866-lxd_container-diff-and-check-mode.yml [PR #5866/7e3c73ce backport][stable-6] lxd_container: add check- and diff-mode support (#6032) 2023-02-22 14:49:28 +01:00
5899-adding-enablesecureboot-functionality-to-redfish-config.yml [PR #5899/71d74a79 backport][stable-6] Adding EnableSecureBoot functionality (#6007) 2023-02-17 20:20:23 +01:00
5900-adding-verifybiosattribute-fucntionality-to-redfish-command.yml [PR #5900/49e3da36 backport][stable-6] Adding VerifyBiosAttributes functionality (#6006) 2023-02-17 08:08:27 +01:00
5915-suppress-urllib3-insecure-request-warnings.yml [PR #5931/f0fd6aa9 backport][stable-6] Suppress urllib3 InsecureRequestWarnings when validate_certs option is false (#5987) 2023-02-13 21:47:26 +01:00
5925-align_gitlab_runner_access_level_default_with_gitlab.yml [PR #5930/de193ac1 backport][stable-6] Align 'gitlab_runner' with GitLab's default access level. (#5971) 2023-02-10 14:12:15 +01:00
5927-set-user-agent-dnsimple.yml [PR #5927/33df7b61 backport][stable-6] Set User-Agent for API requests to DNSimple (#6005) 2023-02-17 08:08:35 +01:00
5928-fix-favicon-url.yml [PR #5928/a64df658 backport][stable-6] Replace missing default favicon with docs.ansible.com favicon (#5935) 2023-02-03 11:46:40 +01:00
5933-linting.yml [PR #5933/b1d9507c backport][stable-6] Fix pylint errors (#5937) 2023-02-04 17:22:05 +01:00
5934-fix-keycloak-sanitize_cr.yml [PR #5934/78297e44 backport][stable-6] Fix keycloak sanitize_cr (#6036) 2023-02-22 15:23:33 +01:00
5942-onepassword-ignore-errors-from-op-account-get.yml [PR #5942/5648e0e2 backport][stable-6] onepassword: ignore errors from "op account get" (#6037) 2023-02-22 16:43:55 +01:00
6043-jc_plugin_parser_support.yml [PR #6043/c168f9c3 backport][stable-6] JC: Add plugin parser functionality to JC Filter Plugin (#6047) 2023-02-23 17:12:09 +01:00
remove-unneeded-imports.yml [PR #5940/2b8ac3c6 backport][stable-6] Remove unneccessary imports (#5976) 2023-02-12 20:22:44 +01:00