meraki_network - Parameter change for combined network type (#49160)

* Added support for types parameter
- Parameter is used to specify multiple network types

* Fix documentation

* Apply suggestions from code review

Co-Authored-By: kbreit <kevin.breit@kevinbreit.net>

* Reworked type parameter to be a list so types isn't needed

* Re-add tags documentation

* Fix documentation around compatibility

* Convert tags to list from string

* Add changelog fragment
This commit is contained in:
Kevin Breit
2019-03-27 10:10:15 -05:00
committed by Dag Wieers
parent 58849ac228
commit 17fc6c6ff1
3 changed files with 70 additions and 27 deletions

View File

@@ -83,9 +83,11 @@
meraki_network:
auth_key: '{{ auth_key }}'
state: present
org_name: '{{test_org_name}}'
org_name: '{{ test_org_name }}'
net_name: IntTestNetworkCombined
type: combined
type:
- appliance
- switch
timezone: America/Chicago
disable_my_meraki: yes
delegate_to: localhost
@@ -124,7 +126,9 @@
net_name: IntTestNetworkTags
type: switch
timezone: America/Chicago
tags: first_tag, second_tag
tags:
- first_tag
- second_tag
delegate_to: localhost
register: create_net_tags
@@ -139,7 +143,10 @@
net_name: IntTestNetworkTags
type: switch
timezone: America/Chicago
tags: first_tag, second_tag, third_tag
tags:
- first_tag
- second_tag
- third_tag
delegate_to: localhost
register: create_net_modified
@@ -151,7 +158,10 @@
net_name: IntTestNetworkTags
type: switch
timezone: America/Chicago
tags: first_tag, second_tag, third_tag
tags:
- first_tag
- second_tag
- third_tag
delegate_to: localhost
register: create_net_modified_idempotent
@@ -257,4 +267,4 @@
- assert:
that:
- 'delete_all_no_org.msg == "org_name or org_id parameters are required"'
- 'delete_all_no_org.msg == "org_name or org_id parameters are required"'