Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

onyx_vlan is missing example of aggregate #22

Open
thizmo opened this issue Apr 29, 2022 · 1 comment
Open

onyx_vlan is missing example of aggregate #22

thizmo opened this issue Apr 29, 2022 · 1 comment

Comments

@thizmo
Copy link

thizmo commented Apr 29, 2022

SUMMARY

I do not get the aggregate working in onyx_vlan.
There is no example in the documenation at all.

While this works:

    - name: Remove some vlan
      onyx_vlan:
        vlan_id: "11"
        name: my-vlan-11
        state: absent
      tags: vlan-config

While this does not work.
I can't find any example on how this is supposed to work.

    - name: Remove some vlans
      onyx_vlan:
         aggregate:
            - { vlan_id: 11, name: my-vlan-11 }
            - { vlan_id: 49, name: my-vlan-49 }
        state: absent
      tags: vlan-config

Another small hint:
Using the playbook for vlan_id: 11 without the " " it tried to remove vlan 1...
So luckily this is not supported...

ISSUE TYPE
  • Documentation Report
COMPONENT NAME

onyx_vlan

ANSIBLE VERSION
ansible 2.9.27
  config file = .ansible.cfg
  configured module search path = [u'/usr/share/ansible']
  ansible python module location = /usr/lib/python2.7/dist-packages/ansible
  executable location = /usr/bin/ansible
  python version = 2.7.12 (default, Mar  1 2021, 11:38:31) [GCC 5.4.0 20160609]
@mariolenz
Copy link
Contributor

This collection is currently unmaintained, so nobody will work on your issue. See ansible-community/community-topics#136 for more information.

If you're interested in mainting this collection yourself, please read the maintainer guidelines and let us know if you want to take over on Matrix: #community:ansible.com or on irc.libera.chat: #ansible-community.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants