community.general/tests/unit/plugins/inventory
Vladimir Botka 94d5256adb
Fix #9538 Inventory iocage fails when DHCP is enabled (#9539)
* Fix #9538  Inventory iocage fails when DHCP is enbled.

* Add changelog fragment 9539-iocage-inventory-dhcp.yml

* Keep iocage_ip4 a string.

* Rename the variable iocage_ip4 to iocage_ip4_dict in _parse_ip4.

* Update the changelog fragment.

* Rename _parse_ip4 parameter ip4_addr to ip4.

* Fix changelog frangment present tense.

* If IP is not available set iocage_ip4='-' instead of the empty string.

* Update changelogs/fragments/9539-iocage-inventory-dhcp.yml

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

---------

Co-authored-by: Felix Fontein <felix@fontein.de>
2025-01-13 18:08:23 +01:00
..
fixtures Fix #9538 Inventory iocage fails when DHCP is enabled (#9539) 2025-01-13 18:08:23 +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 Fix #9538 Inventory iocage fails when DHCP is enabled (#9539) 2025-01-13 18:08:23 +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