community.general/tests/unit/plugins
patchback[bot] 60ba39da58
[PR #9262/23d97fa4 backport][stable-10] Add inventory plugin iocage (#9378)
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>
(cherry picked from commit 23d97fa4b0)

Co-authored-by: Vladimir Botka <vbotka@gmail.com>
2024-12-25 22:00:31 +01:00
..
become add systemd run0 as a become method (#8306) 2024-05-11 16:53:44 +02:00
cache Remove unnecessary test imports (#5978) 2023-02-12 21:05:08 +01:00
callback Avoid deprecated utcnow() (#8222) 2024-04-20 09:26:08 +02:00
connection Handle remote_addr change in lxc connection plugin (#7373) 2023-10-18 20:54:24 +02:00
filter Remove unnecessary test imports (#5978) 2023-02-12 21:05:08 +01:00
inventory [PR #9262/23d97fa4 backport][stable-10] Add inventory plugin iocage (#9378) 2024-12-25 22:00:31 +01:00
lookup github_app_access_token: add support for private key fact (#8989) 2024-10-21 20:53:18 +02:00
module_utils [PR #9179/a3bd49c0 backport][stable-10] deps module utils: unit tests + minor improvement (#9182) 2024-11-25 19:49:12 +01:00
modules [PR #9226/b429e8a2 backport][stable-10] xfconf/xfconf_info: add return value version (#9359) 2024-12-24 14:05:31 +01:00
plugin_utils Add test for unsafe plugin util (#8345) 2024-05-12 00:36:12 +02:00