diff --git a/changelogs/fragments/1435-fix-duplicate-task-name.yml b/changelogs/fragments/1435-fix-duplicate-task-name.yml new file mode 100644 index 00000000..b70c1ac5 --- /dev/null +++ b/changelogs/fragments/1435-fix-duplicate-task-name.yml @@ -0,0 +1,2 @@ +bugfixes: + - Fix task duplicate task name in documentation that cause ansible-lint error diff --git a/docs/plugins/netbox_device_type_module.rst b/docs/plugins/netbox_device_type_module.rst index 04ea0155..3426ca0e 100644 --- a/docs/plugins/netbox_device_type_module.rst +++ b/docs/plugins/netbox_device_type_module.rst @@ -1076,7 +1076,7 @@ Examples manufacturer: Test Manufacturer state: present - - name: Create device type within NetBox with only required information + - name: Create device type within NetBox with more information netbox.netbox.netbox_device_type: netbox_url: http://netbox.local netbox_token: thisIsMyToken diff --git a/docs/plugins/netbox_platform_module.rst b/docs/plugins/netbox_platform_module.rst index e4fe416d..0879802a 100644 --- a/docs/plugins/netbox_platform_module.rst +++ b/docs/plugins/netbox_platform_module.rst @@ -782,7 +782,7 @@ Examples config_template: "my_config_template_slug" state: present - - name: Create platform within NetBox with only required information + - name: Create platform within NetBox with more information netbox.netbox.netbox_platform: netbox_url: http://netbox.local netbox_token: thisIsMyToken diff --git a/docs/plugins/netbox_prefix_module.rst b/docs/plugins/netbox_prefix_module.rst index 97ea0bb6..b904a1bf 100644 --- a/docs/plugins/netbox_prefix_module.rst +++ b/docs/plugins/netbox_prefix_module.rst @@ -1216,7 +1216,7 @@ Examples gather_facts: false tasks: - - name: Create prefix within NetBox with only required information + - name: Create prefix within NetBox with only required information before deleting it netbox.netbox.netbox_prefix: netbox_url: http://netbox.local netbox_token: thisIsMyToken diff --git a/plugins/modules/netbox_device_type.py b/plugins/modules/netbox_device_type.py index 65c82e6e..b23d80c8 100644 --- a/plugins/modules/netbox_device_type.py +++ b/plugins/modules/netbox_device_type.py @@ -150,7 +150,7 @@ manufacturer: Test Manufacturer state: present - - name: Create device type within NetBox with only required information + - name: Create device type within NetBox with more information netbox.netbox.netbox_device_type: netbox_url: http://netbox.local netbox_token: thisIsMyToken diff --git a/plugins/modules/netbox_platform.py b/plugins/modules/netbox_platform.py index 61e37d6b..26b82fef 100644 --- a/plugins/modules/netbox_platform.py +++ b/plugins/modules/netbox_platform.py @@ -106,7 +106,7 @@ config_template: "my_config_template_slug" state: present - - name: Create platform within NetBox with only required information + - name: Create platform within NetBox with more information netbox.netbox.netbox_platform: netbox_url: http://netbox.local netbox_token: thisIsMyToken diff --git a/plugins/modules/netbox_prefix.py b/plugins/modules/netbox_prefix.py index f6135381..901fe89e 100644 --- a/plugins/modules/netbox_prefix.py +++ b/plugins/modules/netbox_prefix.py @@ -153,7 +153,7 @@ gather_facts: false tasks: - - name: Create prefix within NetBox with only required information + - name: Create prefix within NetBox with only required information before deleting it netbox.netbox.netbox_prefix: netbox_url: http://netbox.local netbox_token: thisIsMyToken