mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-07 22:02:50 +00:00
Handle common argument in aggregate parameter for vyos module (#28182)
* Handle common agrument in aggregate parameter for vyos module * Add supoort to set parameter in aggregate to it's respctive top level argument if value not provided in aggregate. * Aggregate argument spec validation * Documentation for aggregate * Fix unit test failure
This commit is contained in:
@@ -156,8 +156,8 @@
|
||||
- name: Remove collection of linkagg definitions
|
||||
vyos_linkagg:
|
||||
aggregate:
|
||||
- { name: bond0 }
|
||||
- { name: bond1 }
|
||||
- name: bond0
|
||||
- name: bond1
|
||||
state: absent
|
||||
register: result
|
||||
|
||||
@@ -172,8 +172,8 @@
|
||||
- name: Remove collection of linkagg definitions again (idempotent)
|
||||
vyos_linkagg:
|
||||
aggregate:
|
||||
- { name: bond0 }
|
||||
- { name: bond1 }
|
||||
- name: bond0
|
||||
- name: bond1
|
||||
state: absent
|
||||
register: result
|
||||
|
||||
|
||||
Reference in New Issue
Block a user