From 16466942588b7889eab095b6bc48dfcd3690cb3d Mon Sep 17 00:00:00 2001 From: Alan Rominger Date: Tue, 17 Mar 2026 13:36:33 -0400 Subject: [PATCH] Fix jinja2 error from newer ansible versions (#16356) * Fix error from newer ansible versions * Include fix for setting cachable * Revert "Include fix for setting cachable" This reverts commit 477293c2580631a63169e00ba56fecb22c21db45. --- awx/playbooks/project_update.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/awx/playbooks/project_update.yml b/awx/playbooks/project_update.yml index 1cdf046106..22db2a7152 100644 --- a/awx/playbooks/project_update.yml +++ b/awx/playbooks/project_update.yml @@ -236,7 +236,7 @@ changed_when: "'was installed successfully' in galaxy_result.stdout" when: - roles_enabled | bool - - req_file + - req_file | length > 0 tags: - install_roles @@ -255,7 +255,7 @@ when: - "ansible_version.full is version_compare('2.9', '>=')" - collections_enabled | bool - - req_file + - req_file | length > 0 tags: - install_collections @@ -276,7 +276,7 @@ - "ansible_version.full is version_compare('2.10', '>=')" - collections_enabled | bool - roles_enabled | bool - - req_file + - req_file | length > 0 tags: - install_collections - install_roles