From 5ae39ec9dedf23cfbd9ce46ef81231fc43cc09ea Mon Sep 17 00:00:00 2001 From: Rafael Guterres Jeffman Date: Thu, 12 Jun 2025 16:22:18 -0300 Subject: [PATCH] ansible-core 2.19: Templates and expressions must use trusted sources In ansible-core, templates and expressions must use trusted sources, such as playbooks or roles, and module results are considered untrusted sources. Signed-off-by: Rafael Guterres Jeffman --- tests/host/test_host_random.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/host/test_host_random.yml b/tests/host/test_host_random.yml index b2a6a49e..0451f443 100644 --- a/tests/host/test_host_random.yml +++ b/tests/host/test_host_random.yml @@ -92,11 +92,11 @@ - name: Print generated random password for "{{ host1_fqdn }}" ansible.builtin.debug: - var: ipahost.host["{{ host1_fqdn }}"].randompassword + var: ipahost.host[host1_fqdn].randompassword - name: Print generated random password for "{{ host2_fqdn }}" ansible.builtin.debug: - var: ipahost.host["{{ host2_fqdn }}"].randompassword + var: ipahost.host[host2_fqdn].randompassword - name: Enrolled host "{{ server_fqdn }}" fails to set random password with update_password always ipahost: