1
0
Fork 0
mirror of https://github.com/iiab/iiab.git synced 2025-03-09 15:40:17 +00:00

don't enable nodejs_6.x on ubuntu-18

This commit is contained in:
Jerry Vonau 2018-04-28 15:48:01 -05:00
parent f9278428a0
commit 5486a4eb58

View file

@ -21,7 +21,7 @@
- name: Set up Node.js 6.x apt sources (debuntu)
shell: curl -sL https://deb.nodesource.com/setup_6.x | bash -
when: internet_available and is_debuntu
when: internet_available and is_debuntu and not ubuntu-18
- name: Install latest Node.js which includes /usr/bin/npm (debuntu)
package:
@ -29,7 +29,7 @@
state: latest
# package: name=nodejs=6.*
# state=present
when: internet_available and is_debuntu
when: internet_available and is_debuntu and not ubuntu-18
- name: Install npm (OS's other than debuntu)
package:
@ -43,10 +43,11 @@
- name: Install npm (ubuntu-18)
package:
name: "{{ item }}"
state: present
state: latest
when: internet_available and is_ubuntu_18
with_items:
- npm
- nodejs
# attempting to reinstall npm is broken on Raspbian 9
- name: Check for Sugarizer already installed