Style consistency for task 'when'

This commit is contained in:
Alan Rominger 2023-07-07 11:22:32 -04:00 committed by Dave
parent 4286d411a7
commit f0f655f2c3

View File

@ -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