|
12 | 12 | module: netbox_tunnel_group
|
13 | 13 | short_description: Create, update or delete tunnel groups within NetBox
|
14 | 14 | description:
|
15 |
| - - Creates, updates or removes tunnel groups from NetBox |
| 15 | + - Creates, updates or deletes tunnel groups from NetBox |
16 | 16 | notes:
|
17 | 17 | - Tags should be defined as a YAML list
|
18 | 18 | - This should be ran with connection C(local) and hosts C(localhost)
|
|
46 | 46 | - The description of the tunnel group
|
47 | 47 | required: false
|
48 | 48 | type: str
|
49 |
| - version_added: "3.20.0" |
50 | 49 | tags:
|
51 | 50 | description:
|
52 | 51 | - The tags to add/update
|
53 | 52 | required: false
|
54 | 53 | type: list
|
55 | 54 | elements: raw
|
56 |
| - version_added: "3.6.0" |
57 | 55 | custom_fields:
|
58 | 56 | description:
|
59 | 57 | - Must exist in NetBox
|
60 | 58 | required: false
|
61 | 59 | type: dict
|
62 |
| - version_added: "3.6.0" |
63 | 60 | """
|
64 | 61 |
|
65 | 62 | EXAMPLES = r"""
|
66 |
| -- name: "Test NetBox modules" |
| 63 | +- name: "Test NetBox Tunnel Group module" |
67 | 64 | connection: local
|
68 | 65 | hosts: localhost
|
69 | 66 | gather_facts: false
|
|
75 | 72 | netbox_token: thisIsMyToken
|
76 | 73 | data:
|
77 | 74 | name: Test Cluster Group
|
| 75 | + slug: test-cluster-group |
78 | 76 | state: present
|
79 | 77 |
|
80 | 78 | - name: Delete tunnel group within netbox
|
@@ -120,7 +118,6 @@ def main():
|
120 | 118 | required=True,
|
121 | 119 | options=dict(
|
122 | 120 | name=dict(required=True, type="str"),
|
123 |
| - slug=dict(required=False, type="str"), |
124 | 121 | description=dict(required=False, type="str"),
|
125 | 122 | tags=dict(required=False, type="list", elements="raw"),
|
126 | 123 | custom_fields=dict(required=False, type="dict"),
|
|
0 commit comments