1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00
community.general/plugins/inventory
patchback[bot] 5d6fcaef53
LXD inventory: Support virtual machines (#3519) (#3900)
* LXD 4.x compatibility (Containers and VMs)

* add changelog fragment

* update fixture

* update plugin options

* backwards compatible alias

Co-authored-by: Felix Fontein <felix@fontein.de>

* Update changelogs/fragments/3519-inventory-support-lxd-4.yml

Co-authored-by: Felix Fontein <felix@fontein.de>

* add lxd 4.0 requirement

* filter for type of virtualization added. due to duplication in the namespace, "type" is not used as the keyword but "nature".

* add type filter

Since the first version of this inventory plugin only supports containers,
a filter function was added to filter between containers and
virtual machines or both.
By default only containers are displayed, as in the first version of the plugin.
This behavior will change in the future.

* rename C(nature) to C(type)

The term "nature" does not fit into the lxd namespace.
Therefore i renamed nature to type.

* update changelog fragment

* Update plugins/inventory/lxd.py

Co-authored-by: Felix Fontein <felix@fontein.de>

* Apply suggestions from code review

Co-authored-by: Felix Fontein <felix@fontein.de>

* rename typefilter to type_filter

* fix tests with type_filter

* Update plugins/inventory/lxd.py

* Update plugins/inventory/lxd.py

Co-authored-by: Felix Fontein <felix@fontein.de>
Co-authored-by: Frank Dornheim <“dornheim@posteo.de@users.noreply.github.com”>
(cherry picked from commit 8825ef4711)

Co-authored-by: Élie <elie@deloumeau.fr>
2021-12-14 06:42:47 +01:00
..
cobbler.py Replace ansible.module_utils._text by ansible.module_utils.common.text.converters (#2877) 2021-06-26 23:59:11 +02:00
gitlab_runners.py Replace ansible.module_utils._text by ansible.module_utils.common.text.converters (#2877) 2021-06-26 23:59:11 +02:00
icinga2.py Icinga2 inventory plugin (#3202) 2021-09-18 15:19:41 +02:00
linode.py Fix default value of new option. (#3338) 2021-09-07 08:37:10 +12:00
lxd.py LXD inventory: Support virtual machines (#3519) (#3900) 2021-12-14 06:42:47 +01:00
nmap.py fixed the utf-8 marker (#3162) 2021-08-07 15:02:21 +02:00
online.py update scaleway maintainers (#3472) (#3873) 2021-12-08 20:20:59 +01:00
opennebula.py Added OpenNebula inventory plugin (#810) 2021-09-28 16:32:15 +02:00
proxmox.py proxmox inventory plugin - Update examples documentation (#3299) 2021-08-31 10:21:53 +02:00
scaleway.py update scaleway maintainers (#3472) (#3873) 2021-12-08 20:20:59 +01:00
stackpath_compute.py fixed the utf-8 marker (#3162) 2021-08-07 15:02:21 +02:00
virtualbox.py fixed the utf-8 marker (#3162) 2021-08-07 15:02:21 +02:00
xen_orchestra.py Xen orchestra inventory: Added groups, keyed_groups and compose support (#3766) (#3772) 2021-11-22 19:27:00 +01:00