mirror of
https://github.com/iiab/iiab.git
synced 2025-03-09 15:40:17 +00:00
Merge pull request #436 from holta/master
use Ansible to pin nodejs to 6.x (curl was not suffic on WiFi install)
This commit is contained in:
commit
ad8509bbbb
1 changed files with 3 additions and 5 deletions
|
@ -16,12 +16,10 @@
|
|||
shell: curl -sL https://deb.nodesource.com/setup_6.x | bash -
|
||||
when: internet_available and is_debuntu
|
||||
|
||||
- name: Install sugarizer required packages - is_debuntu
|
||||
package: name={{ item }}
|
||||
- name: Install nodejs=6.* which includes /usr/bin/npm - is_debuntu
|
||||
package: name=nodejs=6.*
|
||||
state=present
|
||||
when: internet_available and is_debuntu
|
||||
with_items:
|
||||
- nodejs
|
||||
|
||||
- name: Install npm non is_debuntu
|
||||
package: name={{ item }}
|
||||
|
@ -31,7 +29,7 @@
|
|||
- nodejs
|
||||
- npm
|
||||
|
||||
# attempting to reinstall npn is broken on raspbian 9
|
||||
# attempting to reinstall npm is broken on raspbian 9
|
||||
- name: check for sugarizer already installed
|
||||
stat: path={{ sugarizer_location }}/sugarizer/server/node_modules
|
||||
register: npm
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue