From eca1685d1bc62610e9c135e5e8bb4db1c09ae70c Mon Sep 17 00:00:00 2001 From: Michael <5676601+Jormodn@users.noreply.github.com> Date: Mon, 20 Jul 2026 12:08:43 +0200 Subject: [PATCH] Add target_project_id to RBAC policy parameters for searching matches To prevent updates on diffrent RBAC rules who target diffrent target projects this parameter is also required for matching --- plugins/modules/neutron_rbac_policy.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/modules/neutron_rbac_policy.py b/plugins/modules/neutron_rbac_policy.py index cb46d438..497fe78f 100644 --- a/plugins/modules/neutron_rbac_policy.py +++ b/plugins/modules/neutron_rbac_policy.py @@ -269,7 +269,7 @@ def _find_matches(self): .format(', '.join(missing_keys))) kwargs = dict((k, self.params[k]) - for k in ['action', 'object_type', 'project_id']) + for k in ['action', 'object_type', 'project_id', 'target_project_id']) policies = self.conn.network.rbac_policies(**kwargs)