mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-04-10 20:50:32 -07:00
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>
(cherry picked from commit 94d5256adb
)
Co-authored-by: Vladimir Botka <vbotka@gmail.com>
9 lines
1 KiB
Text
9 lines
1 KiB
Text
+------+----------+------+-------+------+-----------------+---------------------+-----+----------------+----------+
|
|
| JID | NAME | BOOT | STATE | TYPE | RELEASE | IP4 | IP6 | TEMPLATE | BASEJAIL |
|
|
+======+==========+======+=======+======+=================+=====================+=====+================+==========+
|
|
| - | test_101 | off | down | jail | 13.4-RELEASE-p2 | vnet0|10.1.0.101/24 | - | ansible_client | yes |
|
|
+------+----------------+------+-------+------+-----------------+--------------------+-----+----------------+-----+
|
|
| - | test_102 | off | down | jail | 13.4-RELEASE-p2 | vnet0|10.1.0.102/24 | - | ansible_client | yes |
|
|
+------+----------------+------+-------+------+-----------------+--------------------+-----+----------------+-----+
|
|
| - | test_103 | off | down | jail | 13.4-RELEASE-p2 | vnet0|10.1.0.103/24 | - | ansible_client | yes |
|
|
+------+----------------+------+-------+------+-----------------+--------------------+-----+----------------+-----+
|