netbox-community / netbox-community/ansible_modules

[Feature]: Add ability to retrieve virtual cluster members from netbox inventory

Open
#369 6 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Enhancement help wanted PR Submitted
Dominant language
Python
Stars
399
Forks
279
PR merge metrics
No merged PRs in 30d

Description

ISSUE TYPE
  • Feature Idea
SOFTWARE VERSIONS
Ansible:

2.9.13

Netbox:

2.9.7

Collection:

v1.0.0

SUMMARY

We need a way to populate virtual chassis members properties via playbook. But since virtual chassi members are excluded by the inventory we are unable to.

STEPS TO REPRODUCE

ansible-inventory -i inventory/netbox.yml --list does not list virtual chassi members.

EXPECTED RESULTS

Add a toggle for including virtual chassis when asking for devices from netbox as inventory.

ACTUAL RESULTS

Virtual chassi members are not included when asking for devices from netbox as inventory.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by running ansible-inventory -i inventory/netbox.yml --list and inspect how the NetBox inventory request handles virtual chassis members. Trace the inventory plugin entry point and determine where an inclusion toggle belongs. Done means the toggle is available and the command lists virtual chassis members with their properties without removing existing devices.

Written by the indexing model from the issue text.

Assessment

Tech stack
ansible, python
Domain
devops, infrastructure
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.