mirror of
https://github.com/k3s-io/k3s-ansible.git
synced 2025-12-25 00:12:37 +01:00
Trim strings to prevent coercion warning
Signed-off-by: too-gee <116376+too-gee@users.noreply.github.com>
This commit is contained in:
@@ -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 }}"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user