From b4e0da7608964b0a2f7012939a124692617a6d18 Mon Sep 17 00:00:00 2001
From: Sergei Petrosian Role Variables
use the system host name if not specified.
Possible values of this variable:
null
or an empty value: the ansible host name is not
+null
or an empty string: the ansible host name is not
changed.{state: absent}
: the ansible host name is unset in the
insights-client config file and Host Based Inventory (HBI) is updated to
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 5ea6ba5..052f2ab 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,6 +1,33 @@
Changelog
=========
+[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
+
+### Other Changes
+
+- ci: Bump ansible/ansible-lint from 6 to 24 (#168)
+
+- ci: Bump mathieudutour/github-tag-action from 6.1 to 6.2 (#170)
+
[1.6.0] - 2024-02-21
--------------------