--- - include_tasks: find.yaml when: bindep_file is not defined - include_tasks: find-bindep.yaml when: bindep_file is defined - include_tasks: install.yaml when: - bindep_file is defined - bindep_command is not defined - include_tasks: packages.yaml loop: "{{ bindep_file is string | ternary([bindep_file], bindep_file) }}" loop_control: loop_var: zj_bindep_file when: bindep_file is defined