Error changed": false, "module_stderr on NX-OS

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’re telling it to permit, but not what to permit.
I believe at least a protocol is required for permit, though you wouldn’t guess that from the docs. None of their permit examples omit protocol though.