ad3167bd56
This prepared for ansible-lint v5 which no longer has exceptions for task naming, requiring all to be named. Change-Id: I5e761d1e3836fa270d7afdcf01780320001f820d Part-Of: #773245
12 lines
270 B
YAML
12 lines
270 B
YAML
- name: Require yarn_command variable
|
|
fail:
|
|
msg: yarn_command is required for this role
|
|
when: yarn_command is not defined
|
|
|
|
- name: Run yarn
|
|
include_role:
|
|
name: js-package-manager
|
|
vars:
|
|
js_build_command: '{{ yarn_command }}'
|
|
js_build_tool: 'yarn'
|