Open zenhighzer opened 4 months ago
Files identified in the description:
If these files are incorrect, please update the component name
section of the description or use the !component
bot command.
cc @Ajpantuso @Thulium-Drake @ilijamt @joshainglis @karmab @krauthosting click here for bot help
Summary
When I try to build my ansible inventory via. proxmox inventory plugin the groups are empty when a machine has more than 1 tag:
my proxmox-machines and their tags i.e.:
lb01: loadbalancer, stack lb02: loadbalaner, stack k8scp1: controlplane, stack k8scp2: controlplane, stack k8scp3: controlplane, stack k8swk1: worker, stack k8swk2: worker, stack k8swk2: worker, stack
My Inventory-Plugin looks like:
If I remove the tag "stack" from all machines then inventory plugin creates the right groups for: -- k8s_loadbalancer -- k8s_controlplane and -- k8s_worker...
If I add a second tag "stack" to all machines, all groups are just empty
Issue Type
Bug Report
Component Name
proxmox inventory
Ansible Version
Community.general Version
Configuration
OS / Environment
Ansible running on Ubuntu 22.04.4 LTS Proxmox Version: 8.1.4
Steps to Reproduce
Expected Results
I expect to have four groups:
k8s_loadbalancer: lb01, lb02 k8s_controlplane: k8scp1, k8scp2, k8scp3 k8s_worker: k8swk1, k8swk2, k8swk3 k8s_stack: lb01, lb02, k8scp1, k8scp2, k8scp3, k8swk1, k8swk2, k8swk3
Actual Results
Code of Conduct