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

use Andible to pin nodejs to 6.x (curl was not suffic on WiFi install)

This commit is contained in:
A Holt 2017-10-20 10:33:34 -04:00 committed by GitHub
parent b1e166db69
commit 3ef77c3962

View file

@ -16,12 +16,10 @@
shell: curl -sL https://deb.nodesource.com/setup_6.x | bash - shell: curl -sL https://deb.nodesource.com/setup_6.x | bash -
when: internet_available and is_debuntu when: internet_available and is_debuntu
- name: Install sugarizer required packages - is_debuntu - name: Install nodejs=6.* which also installs npm - is_debuntu
package: name={{ item }} package: name=nodejs=6.*
state=present state=present
when: internet_available and is_debuntu when: internet_available and is_debuntu
with_items:
- nodejs
- name: Install npm non is_debuntu - name: Install npm non is_debuntu
package: name={{ item }} package: name={{ item }}