You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If an ACE has an object group as a source and that object group has dot(s) in its name, that's wrongly parsed as if there is a netmask. That leads to that ACE always considered changed.
ISSUE TYPE
Bug Report
There obviously is a mistake here:
--- a/plugins/module_utils/network/asa/rm_templates/acls.py
+++ b/plugins/module_utils/network/asa/rm_templates/acls.py
@@ -186,7 +186,7 @@ class AclsTemplate(NetworkTemplate):
not in source and 'object-group' not in source %}{{ source.split(' ')[0] }}{% elif source is defined and\
'::' in source and 'host' not in source %}{{ source }}{% endif %}",
"netmask": "{{ source.split(' ')[1] if source\
- is defined and '.' in source and 'host' not in source else None and 'object-group' not in source }}",
+ is defined and '.' in source and 'host' not in source and 'object-group' not in source else None }}",
"any4": "{{ True if source is defined and source == 'any4' else None }}",
"any6": "{{ True if source is defined and source == 'any6' else None }}",
"any": "{{ True if source is defined and source == 'any' else None }}",
The text was updated successfully, but these errors were encountered:
SUMMARY
If an ACE has an object group as a source and that object group has dot(s) in its name, that's wrongly parsed as if there is a netmask. That leads to that ACE always considered changed.
ISSUE TYPE
There obviously is a mistake here:
The text was updated successfully, but these errors were encountered: