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
The regular expression looks wrong and is matching the “.” after the digit and replacing it with ‘#’ in the code for idrac8 (SCP).
For IPv6.1.Enable since the key has digit 6, it is matching both the ‘.’ After 6 and 1 and for ex SNMP.1.AgentCommunity where it is working it is matching only last “.” After digit 1.
This bug needs to be fixed and the ideal logic should be to match the last occurrence of . and replace with #: \.(?!\d) key = re.sub(r"\.(?!\d)", "#", k)
Bug Description
Cannot tweak IPv6 attributes on iDRAC 8 using the idrac_attributes module, which works just fine on iDRAC 9.
The ExportSystemConfiguration endpoint of this iDRAC 8 returns the following :
So I use
IPv6.1.Enable
andIPv6.1.AutoConfig
parameters but the playbook fails.Component or Module Name
idrac_attributes
Ansible Version
2.14.3
Python Version
3.10.6
iDRAC/OME/OME-M version
iDRAC 8 v2.83.83.83
Operating System
Ubuntu 22.04.2 LTS
Playbook Used
Logs
Steps to Reproduce
Run this task
Expected Behavior
Expected to be working, status [ok] or [changed]
Actual Behavior
[failed]
Screenshots
No response
Additional Information
No response
The text was updated successfully, but these errors were encountered: