Merge "Validate that node_version is set"

This commit is contained in:
Zuul 2024-09-19 20:31:36 +00:00 committed by Gerrit Code Review
commit 2dd43ed7f1
2 changed files with 6 additions and 1 deletions

View File

@ -3,4 +3,5 @@ Install NodeJS from nodesource
**Role Variables**
.. zuul:rolevar:: node_version
:default: 6
Required. What version of Node to install.

View File

@ -1,3 +1,7 @@
- name: Ensure we know what version of node to install
assert:
that: node_version is defined
- name: Update apt cache
apt:
update_cache: yes