Metadata copy

This commit is contained in:
Emmanuel BENOîT 2022-08-07 22:34:40 +02:00
parent 03cc946c65
commit 6086aa4b92
2 changed files with 11 additions and 1 deletions

View file

@ -12,4 +12,4 @@ use_persistent_connections = true
usetty = false
[inventory]
enable_plugins = community.general.proxmox, yaml
enable_plugins = constructed, community.general.proxmox, yaml

View file

@ -0,0 +1,10 @@
# Copy some metadata from the inv__data structure if it exists.
plugin: constructed
strict: false
compose:
inv__component: inv__data.component
inv__fostack: inv__data.fostack
inv__instance: inv__data.instance
inv__service: inv__data.service
inv__subcomponent: inv__data.subcomponent