diff --git a/changelogs/fragments/1339-name-to-fhrp-group.yml b/changelogs/fragments/1339-name-to-fhrp-group.yml new file mode 100644 index 00000000..aa2855c3 --- /dev/null +++ b/changelogs/fragments/1339-name-to-fhrp-group.yml @@ -0,0 +1,2 @@ +minor_changes: + - Add name as option to netbox_fhrp_group diff --git a/plugins/modules/netbox_fhrp_group.py b/plugins/modules/netbox_fhrp_group.py index c142924b..377dbada 100644 --- a/plugins/modules/netbox_fhrp_group.py +++ b/plugins/modules/netbox_fhrp_group.py @@ -33,6 +33,11 @@ description: - Defines the FHRP group configuration suboptions: + name: + description: + - Name of the FHRP group + type: str + version_added: '3.21.0' protocol: description: - Protocol @@ -142,6 +147,7 @@ def main(): type="dict", required=True, options=dict( + name=dict(type="str"), protocol=dict( type="str", choices=[