Trim strings to prevent coercion warning

Signed-off-by: too-gee <116376+too-gee@users.noreply.github.com>
This commit is contained in:
too-gee authored and Derek Nola committed 2025-10-06 10:00:05 -07:00
1 parent d9e64c0511
commit 43c2fde96e
1 file changed
+2 -2
+2 -2
View File
@@ -67,8 +67,8 @@
when:
- api_endpoint is defined
- api_endpoint != ansible_hostname
- not _api_endpoint_in_config | bool
- not _api_endpoint_in_args | bool
- not (_api_endpoint_in_config | trim | bool)
- not (_api_endpoint_in_args | trim | bool)
ansible.builtin.set_fact:
opt_tls_san: "--tls-san={{ api_endpoint }}"