You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
shell> ansible-inventory -i iocage.yml --list --yaml
[WARNING]: * Failed to parse
/scratch/examples/018/iocage.yml with auto plugin:
list index out of range
...
The function _parse_ip4 cannot parse the DHCP message.
shell> ansible-inventory -i iocage.yml --list --yaml
[WARNING]: * Failed to parse
/scratch/examples/018/iocage.yml with auto plugin:
list index out of range
...
Code of Conduct
I agree to follow the Ansible Code of Conduct
The text was updated successfully, but these errors were encountered:
Summary
When DHCP is enabled, for example
shell> iocage get dhcp test_111 1
the iocage binary reports in IP4 tab 'DHCP (not running)' when STATE is down
The inventory plugin community.general.iocage cannot parse this IP4 message.
Issue Type
Bug Report
Component Name
plugins/inventory/iocage.py
Ansible Version
Community.general Version
Configuration
OS / Environment
Steps to Reproduce
Given the inventory configuration
the ansible-inventory fails
The function _parse_ip4 cannot parse the DHCP message.
See https://github.com/ansible-collections/community.general/blob/main/plugins/inventory/iocage.py#L131
Expected Results
Parse IP4 message. For example,
Actual Results
Code of Conduct
The text was updated successfully, but these errors were encountered: