mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-23 05:10:22 -07:00
Add common aggregate arguments for junos modules (#28124)
If parameter value in aggregate is not set, fetch it's corresponding value from top level parameters.
This commit is contained in:
parent
d78c199972
commit
711a6b2326
25 changed files with 374 additions and 272 deletions
|
@ -159,11 +159,10 @@
|
|||
- name: ge-0/0/1
|
||||
ipv4: 1.1.1.1
|
||||
ipv6: fd5d:12c9:2201:1::1
|
||||
active: True
|
||||
- name: ge-0/0/2
|
||||
ipv4: 2.2.2.2
|
||||
ipv6: fd5d:12c9:2201:2::2
|
||||
active: True
|
||||
active: True
|
||||
provider: "{{ netconf }}"
|
||||
register: result
|
||||
|
||||
|
@ -177,11 +176,10 @@
|
|||
- name: ge-0/0/1
|
||||
ipv4: 1.1.1.1
|
||||
ipv6: fd5d:12c9:2201:1::1
|
||||
active: False
|
||||
- name: ge-0/0/2
|
||||
ipv4: 2.2.2.2
|
||||
ipv6: fd5d:12c9:2201:2::2
|
||||
active: False
|
||||
active: False
|
||||
provider: "{{ netconf }}"
|
||||
register: result
|
||||
|
||||
|
@ -199,11 +197,10 @@
|
|||
- name: ge-0/0/1
|
||||
ipv4: 1.1.1.1
|
||||
ipv6: fd5d:12c9:2201:1::1
|
||||
active: True
|
||||
- name: ge-0/0/2
|
||||
ipv4: 2.2.2.2
|
||||
ipv6: fd5d:12c9:2201:2::2
|
||||
active: True
|
||||
active: True
|
||||
provider: "{{ netconf }}"
|
||||
register: result
|
||||
|
||||
|
@ -221,11 +218,10 @@
|
|||
- name: ge-0/0/1
|
||||
ipv4: 1.1.1.1
|
||||
ipv6: fd5d:12c9:2201:1::1
|
||||
state: absent
|
||||
- name: ge-0/0/2
|
||||
ipv4: 2.2.2.2
|
||||
ipv6: fd5d:12c9:2201:2::2
|
||||
state: absent
|
||||
state: absent
|
||||
provider: "{{ netconf }}"
|
||||
register: result
|
||||
|
||||
|
@ -247,11 +243,10 @@
|
|||
- name: ge-0/0/1
|
||||
ipv4: 1.1.1.1
|
||||
ipv6: fd5d:12c9:2201:1::1
|
||||
state: absent
|
||||
- name: ge-0/0/2
|
||||
ipv4: 2.2.2.2
|
||||
ipv6: fd5d:12c9:2201:2::2
|
||||
state: absent
|
||||
state: absent
|
||||
provider: "{{ netconf }}"
|
||||
register: result
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue