netbox-community / netbox-community/ansible_modules
[Feature]: Add ability to retrieve virtual cluster members from netbox inventory
Nobody has claimed this yet.
- 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
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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