mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-22 12:50:22 -07:00
changed collection arg to argregate on 2.4 network modules (#26649)
* changed collection arg to argregate on 2.4 network modules * replace users with aggregate in eos_user, junos_user, nxos_user * added version_added to places where we replaced users with aggregate in the docs * fix ios_static_route test * update tests to reference aggregate instead of collection/users
This commit is contained in:
parent
9d771f6eea
commit
8643e9cb34
42 changed files with 170 additions and 167 deletions
|
@ -82,7 +82,7 @@
|
|||
|
||||
- name: Add static route collections
|
||||
vyos_static_route:
|
||||
collection:
|
||||
aggregate:
|
||||
- { prefix: 172.24.1.0/24, next_hop: 192.168.42.64 }
|
||||
- { prefix: 172.24.2.0, mask: 24, next_hop: 192.168.42.64 }
|
||||
state: present
|
||||
|
@ -97,7 +97,7 @@
|
|||
|
||||
- name: Add and remove static route collections with overrides
|
||||
vyos_static_route:
|
||||
collection:
|
||||
aggregate:
|
||||
- { prefix: 172.24.1.0/24, next_hop: 192.168.42.64 }
|
||||
- { prefix: 172.24.2.0/24, next_hop: 192.168.42.64, state: absent }
|
||||
- { prefix: 172.24.3.0/24, next_hop: 192.168.42.64 }
|
||||
|
@ -113,7 +113,7 @@
|
|||
|
||||
- name: Remove static route collections
|
||||
vyos_static_route:
|
||||
collection:
|
||||
aggregate:
|
||||
- { prefix: 172.24.1.0/24, next_hop: 192.168.42.64 }
|
||||
- { prefix: 172.24.3.0/24, next_hop: 192.168.42.64 }
|
||||
state: absent
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue