community.general/tests/unit/plugins/inventory
Vladimir Botka 23d97fa4b0
Add inventory plugin iocage (#9262)
* Add inventory plugin iocage #9261

* inventory/iocage.py BOTMETA entry added.

* Remove missing methods from the test.

* Avoid shell mode.

* Parameter host is optional default=localhost

* Fix AnsibleError calls.

* Update plugins/inventory/iocage.py

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

* Update plugins/inventory/iocage.py

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

* Update plugins/inventory/iocage.py

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

* Update plugins/inventory/iocage.py

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

* Update plugins/inventory/iocage.py

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

* Update plugins/inventory/iocage.py

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

* Update plugins/inventory/iocage.py

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

* iocage_data removed. Not necessarily defined at this point.

* Description mentions that remote hosts are contacted via SSH.

* test inventory iocage

* Create get_jails and get_properties in iocage plugin to simplify testing.
* Update test_iocage.py
* Add fixtures iocage_*

* Update documentation.

* Update documentation.

* Update documentation.

* Fix localhost environment.

* Update plugins/inventory/iocage.py

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

* Update plugins/inventory/iocage.py

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

---------

Co-authored-by: Felix Fontein <felix@fontein.de>
2024-12-25 21:41:40 +01:00
..
fixtures Add inventory plugin iocage (#9262) 2024-12-25 21:41:40 +01:00
test_cobbler.py Remove unnecessary test imports (#5978) 2023-02-12 21:05:08 +01:00
test_icinga2.py Adds group_by_hostgroups parameter to Icinga2 inventory (#7998) 2024-03-24 17:01:34 +00:00
test_iocage.py Add inventory plugin iocage (#9262) 2024-12-25 21:41:40 +01:00
test_linode.py Add descriptive error message to Linode inventory plugin file checkin… (#8133) 2024-03-24 22:22:44 +01:00
test_lxd.py Remove unnecessary test imports (#5978) 2023-02-12 21:05:08 +01:00
test_opennebula.py opennebula inventory: add VM ID and VM host to data (#8532) 2024-10-07 22:16:29 +02:00
test_proxmox.py Get interfaces for Proxmox LXC containers (#8713) 2024-08-12 07:35:43 +02:00
test_stackpath_compute.py Move licenses to LICENSES/, run add-license.py, add LICENSES/MIT.txt (#5065) 2022-08-05 12:28:29 +02:00
test_xen_orchestra.py Fix pylint and pep8 issues exposed by latest ansible-core's ansible-test sanity checks (#8720) 2024-08-07 15:18:58 +02:00