From f0f655f2c3683ecebbd8f6797d2c3f2421b2d4b6 Mon Sep 17 00:00:00 2001 From: Alan Rominger Date: Fri, 7 Jul 2023 11:22:32 -0400 Subject: [PATCH] Style consistency for task 'when' --- awx/playbooks/project_update.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/awx/playbooks/project_update.yml b/awx/playbooks/project_update.yml index cb21405202..75f9ab76bb 100644 --- a/awx/playbooks/project_update.yml +++ b/awx/playbooks/project_update.yml @@ -224,7 +224,9 @@ - "{{ project_path | quote }}/roles/requirements.yml" - "{{ project_path | quote }}/roles/requirements.yaml" changed_when: "'was installed successfully' in galaxy_result.stdout" - when: roles_enabled | bool and req_file is file + when: + - roles_enabled | bool + - req_file is file tags: - install_roles