1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2026-03-21 20:59:10 +00:00
community.general/plugins
Martin Wilck 1554f23bfb
nmcli: fix idempotency issue with macvlan (#11551)
* nmcli: fix idempotency issue with macvlan

The nmcli module is not idempotent for macvlan interfaces.

Ansible running in diff mode for a case where the interface in question
already exists:

```
TASK [nm_macvlan : Check macvlan connection] *********************************************************************************
--- before
+++ after
@@ -11,5 +11,5 @@
     "ipv6.method": "disabled",
     "macvlan.mode": "2",
     "macvlan.parent": "eth0",
-    "macvlan.tap": "no"
+    "macvlan.tap": "False"
 }
```
The problem is that `macvlan.tap` isn't treated as boolean option. Fix it.

* Update changelogs/fragments/11551-fix-nmcli-idempotency-for-macvlan.yml

Co-authored-by: Felix Fontein <felix@fontein.de>

---------

Co-authored-by: Felix Fontein <felix@fontein.de>
2026-03-10 21:42:37 +01:00
..
action Sort imports with ruff check --fix (#11400) 2026-01-09 07:40:58 +01:00
become Sort imports with ruff check --fix (#11400) 2026-01-09 07:40:58 +01:00
cache Sort imports with ruff check --fix (#11400) 2026-01-09 07:40:58 +01:00
callback Deprecate the Log Analytics callback plugin (#11505) 2026-02-23 20:43:50 +01:00
connection Add option for wsl_shell_type, protect wsl.exe arguments if SSH shell is Powershell (#11308) 2026-01-16 21:07:11 +01:00
doc_fragments New module icinga2_downtime (#11462) 2026-02-23 05:38:54 +01:00
filter adds parameter delimiters to from_ini filter (#11512) 2026-02-23 05:44:32 +01:00
inventory Allow setting of independent custom domain for incus inventory (#11555) 2026-03-07 14:15:07 +01:00
lookup Sort imports with ruff check --fix (#11400) 2026-01-09 07:40:58 +01:00
module_utils New module icinga2_downtime (#11462) 2026-02-23 05:38:54 +01:00
modules nmcli: fix idempotency issue with macvlan (#11551) 2026-03-10 21:42:37 +01:00
plugin_utils Add to_toml filter (#11423) 2026-01-22 06:41:49 +01:00
test Sort imports with ruff check --fix (#11400) 2026-01-09 07:40:58 +01:00