Skip to content

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

Open
@SteveRodrigue

Description

@SteveRodrigue

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.'```

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions