Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: netbox.netbox.netbox_fhrp_group doesn't support all field (at least name isn't supported) #1339

Open
SteveRodrigue opened this issue Oct 17, 2024 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@SteveRodrigue
Copy link
Contributor

SteveRodrigue commented Oct 17, 2024

Ansible NetBox Collection version

v3.20.0

Ansible version

ansible [core 2.15.6]
  config file = ****/ansible.cfg
  configured module search path = ['*****/modules']
  ansible python module location = ******/.venv/lib/python3.9/site-packages/ansible
  ansible collection location = ********/lib/python3.9/site-packages
  executable location = ******.venv/bin/ansible
  python version = 3.9.2 (default, Feb 28 2021, 17:03:44) [GCC 10.2.1 20210110] (*****.venv/bin/python)
  jinja version = 3.1.4
  libyaml = True

NetBox version

v4.1.1

Python version

3.9

Steps to Reproduce

Simple, try something like this:

We should be able to specify the name in data:

- name: "Create FHRP group in Netbox"
  netbox.netbox.netbox_fhrp_group:
    netbox_url: "{{ netbox_url }}"
    netbox_token: "{{ netbox_api_token }}"
    data:
      name: "Not supported"  # Not supported!
      protocol: "other"
      group_id: 111
    state: present

Expected Behavior

Group is created with a name.

Observed Behavior

The Ansible task fails with this message.

        Supported parameters include: auth_key, auth_type, custom_fields, description,
        group_id, protocol, tags.'```
@SteveRodrigue SteveRodrigue added the bug Something isn't working label Oct 17, 2024
@rodvand rodvand self-assigned this Oct 27, 2024
rodvand added a commit that referenced this issue Oct 27, 2024
* Add name to options of fhrp_group

* Add doc and fragment
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants