ansible-collections / junipernetworks.junos

Ansible Network Collection for Juniper JunOS
GNU General Public License v3.0
84 stars 63 forks source link

Wrong indentation in documentation resulting in erroneous examples #415

Open KB-perByte opened 1 year ago

KB-perByte commented 1 year ago

The documentation contains examples that are wrongly indented resulting in errors when used. junos_acls_interfaces - Mostly all examples junos_acls

SUMMARY
ISSUE TYPE
COMPONENT NAME

acls acls_interfaces

ANSIBLE VERSION

pasted from examples - here

- name: Merge JUNOS acl
  junipernetworks.junos.junos_acls:
    config:
    - afi: ipv4
      acls:
      - name: allow_ssh_acl
        aces:
        - name: ssh_rule
          source:
            port_protocol:
              eq: ssh
          protocol: tcp
      state: merged

State should be indented correctly with config.

sammyhori commented 1 month ago

This was fixed in #461, so I recommend that it should now be closed.