b2ae863f50
Latest ansible-lint is finding this. It seems reasonable enough to ensure the task is named; it's always nice to have context about what is happening as you read the file. Change-Id: Ia7e490aaba99da9694a6f3fdb1bca9838221b30a
22 lines
536 B
YAML
22 lines
536 B
YAML
---
|
|
- name: Include find tasks
|
|
include_tasks: find.yaml
|
|
when: bindep_file is not defined
|
|
|
|
- name: Include bindep tasks
|
|
include_tasks: find-bindep.yaml
|
|
when: bindep_file is defined
|
|
|
|
- name: Include install tasks
|
|
include_tasks: install.yaml
|
|
when:
|
|
- bindep_file is defined
|
|
- bindep_command is not defined
|
|
|
|
- name: Include package tasks
|
|
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
|