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

Filter on qemu and lxc resources only #58361

Open
wants to merge 2 commits into
base: devel
from

Conversation

Projects
None yet
2 participants
@adubreuiltk
Copy link

commented Jun 25, 2019

SUMMARY

When using proxmox.py as a dynamic inventory for Ansible, only VM and lxc must be included in the output. Other resources such as datastores must be excluded.

ISSUE TYPE
  • Bugfix Pull Request
COMPONENT NAME

Proxmox/qemu

ADDITIONAL INFORMATION

If a datastore is defined in a pool, the script crashes as the parameter template does not apply to datastore objects.

Filter on qemu/VM objects only
A PVE pool may contain VM and other object such as datastores (which must be excluded from Ansible inventories)

@adubreuiltk adubreuiltk changed the title Filter on qemu/VM objects only Filter on qemu and lxc resources only Jun 30, 2019

@ansibot ansibot removed the small_patch label Jun 30, 2019

@ansibot ansibot added the stale_ci label Jul 8, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.