mirror of
https://github.com/iiab/iiab.git
synced 2025-03-09 15:40:17 +00:00
nodejs/tasks/install.yml: Stale comments need updating
This commit is contained in:
parent
6eadc57470
commit
10fb1823a3
1 changed files with 3 additions and 3 deletions
|
@ -32,7 +32,7 @@
|
|||
# /etc/iiab/local_vars.yml -- then re-run this IIAB installer.
|
||||
# when: nodejs_version_installed is defined and nodejs_version_installed.stdout != nodejs_version and nodejs_version_installed.stderr == ""
|
||||
|
||||
# Forces < 12 or > 12 to be removed, ignored if file is absent
|
||||
# Forces < 16.x or > 16.x to be removed, ignored if file is absent
|
||||
- name: Remove /etc/apt/sources.list.d/nodesource.list if nodejs_version_installed.stdout is not {{ nodejs_version }}
|
||||
file:
|
||||
state: absent
|
||||
|
@ -40,14 +40,14 @@
|
|||
when: nodejs_version_installed is defined and nodejs_version_installed.stdout != nodejs_version and nodejs_version_installed.stdout != ""
|
||||
|
||||
# BRUTAL but ensures consistency across OS's / distros like Raspbian Desktop & Ubermix that often include an older version of Node.js
|
||||
# Forces < 12 or > 12 to be uninstalled
|
||||
# Forces < 16.x or > 16.x to be uninstalled
|
||||
- name: ASK apt/yum/dnf TO REMOVE PRE-EXISTING Node.js {{ nodejs_version_installed.stdout }} (IF IT'S NOT {{ nodejs_version }})
|
||||
package:
|
||||
name: nodejs
|
||||
state: absent
|
||||
when: nodejs_version_installed is defined and nodejs_version_installed.stdout != nodejs_version and nodejs_version_installed.stdout != ""
|
||||
|
||||
# Forces == 12
|
||||
# Forces == 16.x
|
||||
- name: Warn if Node.js {{ nodejs_version}} already installed & might be updated
|
||||
debug:
|
||||
msg: "WARN: YOUR Node.js {{ nodejs_version }} MIGHT NOW BE UPDATED USING nodesource.com"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue