generated from ansible-collections/collection_template
-
Notifications
You must be signed in to change notification settings - Fork 63
Open
Labels
enhancementNew feature or requestNew feature or request
Description
SUMMARY
The "comment" key should exist in "interface wireless security-profiles", but is not configurable (error: FAILED! => {"changed": false, "msg": "Unknown key \"comment\" for name=\"ansible-setup-security-profile\"."})
ISSUE TYPE
- Bug Report
COMPONENT NAME
https://github.com/ansible-collections/community.routeros/blob/main/plugins/module_utils/_api_data.py#L2683-L2727
I understand that this file is likely extracted from the documentation https://help.mikrotik.com/docs/spaces/ROS/pages/8978446/Wireless+Interface#WirelessInterface-SecurityProfiles however the comment field does not exist there as well
ANSIBLE VERSION
ansible [core 2.18.6]
config file = None
configured module search path = ['/Users/jh/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules']
ansible python module location = /Users/jh/projects/mikrotik-ansible/.venv/lib/python3.13/site-packages/ansible
ansible collection location = /Users/jh/.ansible/collections:/usr/share/ansible/collections
executable location = /Users/jh/projects/mikrotik-ansible/.venv/bin/ansible
python version = 3.13.5 (main, Jun 11 2025, 15:36:57) [Clang 17.0.0 (clang-1700.0.13.3)] (/Users/jh/projects/mikrotik-ansible/.venv/bin/python)
jinja version = 3.1.6
libyaml = True
COLLECTION VERSION
community.routeros 3.8.0
CONFIGURATION
CONFIG_FILE() = None
GALAXY_SERVERS:
OS / ENVIRONMENT
MacOS, RouterOS 7.19.3
STEPS TO REPRODUCE
In RouterOS terminal, interface wireless security-profiles add name="name" comment="comment" works.
- name: Set up security profile
community.routeros.api_modify:
path: "interface wireless security-profiles"
data:
- name: "security-profile"
comment: "comment"EXPECTED RESULTS
Security profile should be edited with comment
ACTUAL RESULTS
FAILED! => {"changed": false, "msg": "Unknown key \"comment\" for name=\"ansible-setup-security-profile\"."}
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request