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

VM path filter in inventory #2111

Open
nico-68125 opened this issue Jul 11, 2024 · 0 comments
Open

VM path filter in inventory #2111

nico-68125 opened this issue Jul 11, 2024 · 0 comments

Comments

@nico-68125
Copy link

Hello all,

Is there a way to limit path feedback to filter on a specific path in vmware dynamic inventory please ?
Actually enable with_path return all the path as a tag.
I already tried with keyed_groups but without success

Exemple:

|--@Centres_de_données:
| |--@Centres_de_données_DataCenter:
| | |--@Centres_de_données_DataCenter_vm:
| | | |--@Centres_de_données_DataCenter_vm_Applications:
| | | | |--@Centres_de_données_DataCenter_vm_Applications_xxxxxx:
| | | | | |--@Centres_de_données_DataCenter_vm_Applications_xxxxx_xxxxx:
| | | | | | |--@Centres_de_données_DataCenter_vm_Applications_Laboratoires_GLIMS_Production:
| | | | | | | |--WSM1
| | | | | | | |--WSM2
| | | | | | | |--WSM3
| | | | | | |--@Centres_de_données_DataCenter_vm_Applications_xxxxxx_xxxxxxx:

I just need to get VMs in @Centres_de_données_DataCenter_vm_Applications and subfolders

Thanks

ansible 2.16

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

1 participant