Skip to content

Commit 6cbd724

Browse files
authored
Bugfix #98 - fix show_supernets_only parameter (#99)
Add `phpipam_name` to `show_supernets_only` parameter to solve mixtures of singular and plural in api again. Add `show_supernets_only` to section test playbook. Add changelog entry
1 parent 0a49834 commit 6cbd724

File tree

3 files changed

+4
-1
lines changed

3 files changed

+4
-1
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
bugfixes:
2+
- Fix \#98 - fix show_supernets_only parameter

plugins/modules/section.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ def main():
129129
list_order=dict(type='bool', required=False, phpipam_name='order'),
130130
show_vlan=dict(type='bool', required=False, phpipam_name='showVLAN'),
131131
show_vrf=dict(type='bool', required=False, phpipam_name='showVRF'),
132-
show_supernets_only=dict(type='bool', required=False),
132+
show_supernets_only=dict(type='bool', required=False, phpipam_name='showSupernetOnly'),
133133
dns_resolver=dict(type='entity', controller='tools/nameservers', required=False, phpipam_name='DNS'),
134134
)
135135
)

tests/test_playbooks/vars/section.yml

+1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
---
22
base_section_data:
33
name: "Example Inc."
4+
show_supernets_only: yes
45

56
sections:
67
- name: "ACME Inc."

0 commit comments

Comments
 (0)