mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-22 21:00:22 -07:00
Use single parameter for source-interface (#44260)
* Compress src interface into one key * Modified regex to support varied interface types * Fixed documentation * Unpacking return values from splitting method
This commit is contained in:
parent
3960ebb8e8
commit
d63ba5999b
2 changed files with 19 additions and 35 deletions
|
@ -194,8 +194,7 @@
|
|||
|
||||
- name: Configure Source Interface for Logging
|
||||
nxos_logging: &srcint
|
||||
interface_type: mgmt
|
||||
interface: 0
|
||||
interface: mgmt0
|
||||
register: result
|
||||
|
||||
- assert:
|
||||
|
@ -220,7 +219,7 @@
|
|||
- { dest: logfile, dest_level: 1, name: test }
|
||||
- { facility: daemon, facility_level: 4 }
|
||||
- { dest: server, remote_server: test-syslogserver.com, facility: auth, facility_level: 1, use_vrf: management }
|
||||
- { interface_type: mgmt, interface: 0 }
|
||||
- { interface: mgmt0 }
|
||||
provider: "{{ connection }}"
|
||||
state: absent
|
||||
register: result
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue