From 79b7f770a776fff133f290bcd09efe096339558e Mon Sep 17 00:00:00 2001 From: Rich Bibby Date: Sat, 6 Jul 2024 13:25:18 +0100 Subject: [PATCH] feat: Add `description` option to `netbox_cluster_group` module (#1284) --- ...feature-netbox_cluster_group-adds-description-field.yml | 2 ++ plugins/modules/netbox_cluster_group.py | 7 +++++++ 2 files changed, 9 insertions(+) create mode 100644 changelogs/fragments/1276-feature-netbox_cluster_group-adds-description-field.yml diff --git a/changelogs/fragments/1276-feature-netbox_cluster_group-adds-description-field.yml b/changelogs/fragments/1276-feature-netbox_cluster_group-adds-description-field.yml new file mode 100644 index 00000000..44bc0278 --- /dev/null +++ b/changelogs/fragments/1276-feature-netbox_cluster_group-adds-description-field.yml @@ -0,0 +1,2 @@ +minor_changes: + - Add `description` to `netbox_cluster_group` module (https://github.com/netbox-community/ansible_modules/issues/1276) diff --git a/plugins/modules/netbox_cluster_group.py b/plugins/modules/netbox_cluster_group.py index fa2f38de..9d1f42e4 100644 --- a/plugins/modules/netbox_cluster_group.py +++ b/plugins/modules/netbox_cluster_group.py @@ -41,6 +41,12 @@ - This is auto-generated following NetBox rules if not provided required: false type: str + description: + description: + - The description of the cluster group + required: false + type: str + version_added: "3.20.0" tags: description: - The tags to add/update @@ -115,6 +121,7 @@ def main(): options=dict( name=dict(required=True, type="str"), slug=dict(required=False, type="str"), + description=dict(required=False, type="str"), tags=dict(required=False, type="list", elements="raw"), custom_fields=dict(required=False, type="dict"), ),