mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
change ports to non well known ports and drop time_range for N1 (#31261)
This commit is contained in:
parent
748adf7a8e
commit
c976ac7ed6
1 changed files with 6 additions and 3 deletions
|
@ -1,6 +1,9 @@
|
|||
---
|
||||
- debug: msg="START TRANSPORT:{{ connection.transport }} nxos_acl sanity test"
|
||||
|
||||
- set_fact: time_range="ans-range"
|
||||
when: not (platform | match("N5K"))
|
||||
|
||||
- name: "Setup: Cleanup possibly existing acl."
|
||||
nxos_acl: &remove
|
||||
name: TEST_ACL
|
||||
|
@ -17,8 +20,8 @@
|
|||
proto: tcp
|
||||
src: 1.1.1.1/24
|
||||
src_port_op: range
|
||||
src_port1: 5
|
||||
src_port2: 20
|
||||
src_port1: 1900
|
||||
src_port2: 1910
|
||||
ack: 'enable'
|
||||
dscp: 'af43'
|
||||
dest: any
|
||||
|
@ -29,7 +32,7 @@
|
|||
fin: 'enable'
|
||||
rst: 'enable'
|
||||
syn: 'enable'
|
||||
time_range: 'ans-range'
|
||||
time_range: "{{time_range|default(omit)}}"
|
||||
state: present
|
||||
provider: "{{ connection }}"
|
||||
register: result
|
||||
|
|
Loading…
Reference in a new issue