mirror of
https://github.com/iiab/iiab.git
synced 2025-03-09 15:40:17 +00:00
"Node.js" in Ansible output
This commit is contained in:
parent
d491896199
commit
d987537b51
1 changed files with 4 additions and 4 deletions
|
@ -12,11 +12,11 @@
|
|||
src={{ sugarizer_location }}/{{ sugarizer_version }}
|
||||
state=link
|
||||
|
||||
- name: Set up node 6.x apt sources (debuntu)
|
||||
- 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
|
||||
|
||||
- name: Install latest nodejs which includes /usr/bin/npm (debuntu)
|
||||
- name: Install latest Node.js which includes /usr/bin/npm (debuntu)
|
||||
package: name=nodejs
|
||||
state=latest
|
||||
# package: name=nodejs=6.*
|
||||
|
@ -57,14 +57,14 @@
|
|||
# dest=/etc/apache2/sites-enabled/sugarizer.conf
|
||||
# state=link
|
||||
|
||||
- name: Create the express framework for node.js (OS's other than Fedora 18)
|
||||
- name: Create the express framework for Node.js (OS's other than Fedora 18)
|
||||
shell: npm install
|
||||
args:
|
||||
chdir: "{{ sugarizer_location }}/sugarizer/server"
|
||||
creates: "{{ sugarizer_location }}/sugarizer/server/node_modules"
|
||||
when: not is_F18 and not npm_exists
|
||||
|
||||
- name: Create the express framework for node.js (Fedora 18)
|
||||
- name: Create the express framework for Node.js (Fedora 18)
|
||||
shell: npm install
|
||||
args:
|
||||
chdir: "{{ sugarizer_location }}/sugarizer/server"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue