Skip to content

Commit 0132ba4

Browse files
authored
fix #61 (#62)
1 parent 3dd4440 commit 0132ba4

File tree

4 files changed

+8
-4
lines changed

4 files changed

+8
-4
lines changed
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
minor_changes:
2+
- fix #61 - Device type examples

docs/plugins/device_type_module.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -232,7 +232,7 @@ Examples
232232

233233

234234
- name: "Create device type"
235-
codeaffen.phpipam.device type:
235+
codeaffen.phpipam.device_type:
236236
username: "admin"
237237
password: "s3cr3t"
238238
server_url: "https://ipam.example.com"
@@ -242,7 +242,7 @@ Examples
242242
state: present
243243

244244
- name: "Remove device type"
245-
codeaffen.phpipam.device type:
245+
codeaffen.phpipam.device_type:
246246
username: "admin"
247247
password: "s3cr3t"
248248
server_url: "https://ipam.example.com"

docs/plugins/index.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ Modules
2626
* :ref:`nameserver <ansible_collections.codeaffen.phpipam.nameserver_module>` -- Manage nameservers
2727
* :ref:`section <ansible_collections.codeaffen.phpipam.section_module>` -- Manage sections
2828
* :ref:`subnet <ansible_collections.codeaffen.phpipam.subnet_module>` -- Manage subnets
29+
* :ref:`tag <ansible_collections.codeaffen.phpipam.tag_module>` -- Manage tags
2930
* :ref:`vlan <ansible_collections.codeaffen.phpipam.vlan_module>` -- Manage vlans
3031
* :ref:`vrf <ansible_collections.codeaffen.phpipam.vrf_module>` -- Manage virtual routers and forwarders
3132

@@ -46,5 +47,6 @@ Modules
4647
nameserver_module
4748
section_module
4849
subnet_module
50+
tag_module
4951
vlan_module
5052
vrf_module

plugins/modules/device_type.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@
4444

4545
EXAMPLES = '''
4646
- name: "Create device type"
47-
codeaffen.phpipam.device type:
47+
codeaffen.phpipam.device_type:
4848
username: "admin"
4949
password: "s3cr3t"
5050
server_url: "https://ipam.example.com"
@@ -54,7 +54,7 @@
5454
state: present
5555
5656
- name: "Remove device type"
57-
codeaffen.phpipam.device type:
57+
codeaffen.phpipam.device_type:
5858
username: "admin"
5959
password: "s3cr3t"
6060
server_url: "https://ipam.example.com"

0 commit comments

Comments
 (0)