mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-07 05:42:50 +00:00
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:
@@ -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"'
|
||||
|
||||
Reference in New Issue
Block a user