mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-02-04 07:51:50 +00:00
Add Incus inventory plugin (#10972)
* BOTMETA: Add Incus inventory plugin Signed-off-by: Stéphane Graber <stgraber@stgraber.org> * plugins/inventory: Implement basic Incus support This is a simple inventory plugin leveraging the local `incus` command line tool. It supports accessing multiple remotes and projects, builds a simple group hierarchy based on the remotes and projects and exposes most properties as variable. It also supports basic filtering using the server-side filtering syntax supported by the Incus CLI. Signed-off-by: Stéphane Graber <stgraber@stgraber.org> * plugins/inventory/incus: Add support for constructable groups This allows the use of constructable groups and also allows disabling the default group structure. Signed-off-by: Stéphane Graber <stgraber@stgraber.org> * plugins/inventory/incus: Add unit tests Signed-off-by: Stéphane Graber <stgraber@stgraber.org> --------- Signed-off-by: Stéphane Graber <stgraber@stgraber.org>
This commit is contained in:
parent
af8c4fb95e
commit
a1bf2fc44a
3 changed files with 378 additions and 0 deletions
3
.github/BOTMETA.yml
vendored
3
.github/BOTMETA.yml
vendored
|
|
@ -238,6 +238,9 @@ files:
|
|||
maintainers: vbotka
|
||||
$inventories/icinga2.py:
|
||||
maintainers: BongoEADGC6
|
||||
$inventories/incus.py:
|
||||
labels: incus
|
||||
maintainers: stgraber
|
||||
$inventories/linode.py:
|
||||
keywords: linode dynamic inventory script
|
||||
labels: cloud linode
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue