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
264 B
YAML
12 lines
264 B
YAML
- name: Require npm_command variable
|
|
fail:
|
|
msg: npm_command is required for this role
|
|
when: npm_command is not defined
|
|
|
|
- name: Run npm
|
|
include_role:
|
|
name: js-package-manager
|
|
vars:
|
|
js_build_command: '{{ npm_command }}'
|
|
js_build_tool: 'npm'
|