When using the cisco.ios.ios_acls module I get the  remarks at the end of
the standard access-list instead of between the ACL entries.

When I render the following:


acls:

- afi: ipv4

  acls:

    - name: ACL-EXAMPLE

      acl_type: standard

      aces:

        - sequence: 10

          remarks:

            - "First Remark before Sequence 10"

          grant: permit

          source:

            address: 10.26.44.80

        - sequence: 20

          grant: permit

          source:

            address: 10.26.55.90

        - sequence: 30

          remarks:

            - "Second Remark before Sequence 30"

          grant: permit

          source:

            address: 10.30.44.12

        - sequence: 40

          grant: permit

          source:

            address: 10.30.55.13


I get:


TASK [acl-demo : Render the provided configuration]
******************************************************************************************************************************************************************************

ok: [dummy] => {

    "changed": false,

    "rendered": [

        "ip access-list standard ACL-EXAMPLE",

        "10 permit 10.26.44.80",

        "20 permit 10.26.55.90",

        "30 permit 10.30.44.12",

        "40 permit 10.30.55.13",

        "remark First Remark before Sequence 10",

        "remark Second Remark before Sequence 30"

    ]

}


I expect the first remark to be before sequence 10 and the second remark to
be before sequence 30.


How can I fix this?

-- 
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 ansible-project+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/CADFeZ2ucb3yWy6GAv3iqjiyJ_vb-E_UXsygQKUjnR_KC57BGdQ%40mail.gmail.com.

Reply via email to