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
Élie 8825ef4711
LXD inventory: Support virtual machines (#3519)
* 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”>
2021-12-13 22:01:52 +01:00
..
action fixed the utf-8 marker (#3162) 2021-08-07 15:02:21 +02:00
become Update BOTMETA, fix some plugin authors, improve BOTMETA extra sanity test (#3069) 2021-07-26 11:44:41 +02:00
cache Fix new devel sanity errors. (#3194) 2021-08-12 12:07:50 +02:00
callback opentelemetry: honour ignore errors (#3837) 2021-12-04 19:00:07 +01:00
connection Update lxd connection to use all documented vars for options (#3798) 2021-12-09 21:18:39 +01:00
doc_fragments bitbucket: Support Basic Auth (#2045) 2021-10-31 19:09:25 +01:00
filter New filter plugin - unicode_normalization (#3359) 2021-09-12 13:46:53 +02:00
inventory LXD inventory: Support virtual machines (#3519) 2021-12-13 22:01:52 +01:00
lookup Docs improvements. (#3893) 2021-12-12 11:01:14 +01:00
module_utils Modules for managing HPE iLO (#3740) 2021-12-11 21:27:09 +01:00
modules Pass missing vlan-related options (flags, ingress, egress) to nmcli (#3896) 2021-12-13 21:43:54 +01:00
test a_module test: fix crash in case of tombstoning (#3660) 2021-11-04 08:29:17 +01:00