Version 1.6.1
[1.6.1] - 2024-04-02
Bug Fixes
- fix: Ignore ansible_host: "" (#169)
Enhancement: Ignoring rhc.ansible_host if set to an empty string.
Reason: The empty string value causes:
- the Ansible host name to be reset in the Inventory by
insights-client --ansible_host=
; - a line
ansible_host=
to be put in the config file.
The former is a job of {state: absent}
. An empty string should not cause such a desctructive operation. The latter is ignored by the Client and is equivatent to that line missing.
Result:
Consistently with a similar condition of the display_name parameter, an empty string ansible_host is treated as undefined. It's the same behavior as with a null value.
Issue Tracker Tickets (Jira or BZ if any): https://issues.redhat.com/browse/CCT-398