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
Frank Dornheim 2cc3ce0230
lxd: dynamic inventory (#2026)
* lxd dynamic inventory and test data

* added ``merge_profile`` parameter to merge configurations from the play to an existing profile

* cosmetic changes

* added ``merge_profile`` parameter to merge configurations from the play to an existing profile

* cosmetic changes

* fix pylint errors

* fix flake8 warnings

* fix pep8 errors without "line to long"

* fix ansible tests

* fix typo

* fix version added

* fix lost of suggestions from felixfontein

* fix filter
fix ansible test errors

* delete test config

* delete 'notes:' and copy content to description

* move testdata
load testdata by path from config

* updated documentation

* fix test data and remove inventory branch

* fix spellings and rename lxd to community.general.lxd

* fix documentation

* remove selftest

* strip example data

* add unit test

* switch to ansible.module_utils.common.dict_transformations

* documentation cleanup

* move lxd_inventory.atd from files to fixtures

* update documentation
move lxd_inventory.atd

* rename self.groups to self dispose
remove dumpdata

* cleanup

* fix unittests
comment out dump_data, it breaks the unit tests

* fix pep8

* Apply suggestions from code review

* Update plugins/inventory/lxd.py

* add test if no groupby is selected

* rename disposed to groupby
remove unused constant
other suggested cleanups

* Use bundled ipaddress instead of own code.

* Update plugins/inventory/lxd.py

* Exceptions should not be eaten.

* Improve error handling for network range/address parsing.

* Fix typo.

* Make network range valid.

* Do not error when groupby is not a dict.

Co-authored-by: Frank Dornheim <“dornheim@posteo.de@users.noreply.github.com”>
Co-authored-by: Felix Fontein <felix@fontein.de>
2021-04-26 18:25:45 +02:00
..
__init__.py
cobbler.py <plugin_type>: -> name: (#1541) 2021-01-12 07:12:03 +01:00
gitlab_runners.py <plugin_type>: -> name: (#1541) 2021-01-12 07:12:03 +01:00
linode.py Remove unneeded fields (with typos). (#1887) 2021-02-23 23:11:49 +01:00
lxd.py lxd: dynamic inventory (#2026) 2021-04-26 18:25:45 +02:00
nmap.py nmap: fix cache support (#2282) 2021-04-21 16:00:03 -07:00
online.py <plugin_type>: -> name: (#1541) 2021-01-12 07:12:03 +01:00
proxmox.py inventory/proxmox: Added some cases for unsupported network interface and multi-nic and unsupported guest error (#2263) 2021-04-21 19:52:45 +02:00
scaleway.py update scaleway zones (#1690) 2021-01-28 12:51:07 +01:00
stackpath_compute.py <plugin_type>: -> name: (#1541) 2021-01-12 07:12:03 +01:00
virtualbox.py Update CI (#1782) 2021-02-11 10:24:58 +01:00