mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-08 06:12:51 +00: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:
committed by
GitHub
parent
3960ebb8e8
commit
d63ba5999b
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user