I'm attempting to set up the ACL on my Nexus device, but I've encountered
an error during playbook execution. Could someone please provide
assistance? Here's the error message.
FAILED! => {"changed": false, "module_stderr": "10 permit\r\r\n
^\r\n% Incomplete command at '^' marker.\r\n\r
02(config-acl)# ", "module_stdout": "", "msg": "MODULE FAILURE\nSee
stdout/stderr for the exact error"}
This is my Yaml file
- name: Configure ACLs on Cisco Nexus
hosts: nexus_switches
gather_facts: false
tasks:
- name: Merge ACL configuration
cisco.nxos.nxos_acls:
state: merged
config:
- afi: ipv4
acls:
- name: acl
aces:
- sequence: 10
grant: permit
source:
address: 192.168.129.70
wildcard_bits: 0.0.0.0
- sequence: 20
grant: permit
source:
address: 192.168.129.80
wildcard_bits: 0.0.0.0
- sequence: 500
grant: deny
source:
address: 0.0.0.0
wildcard_bits: 255.255.255.255
destination:
address: 0.0.0.0
wildcard_bits: 255.255.255.255
--
You received this message because you are subscribed to the Google Groups
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/ansible-project/63de6d53-18c6-4dcf-ba52-05f154f6ae02n%40googlegroups.com.