Commit f51e546b authored by Clément Igonet's avatar Clément Igonet

Install npm.

parent 86d069d9
- name: npm
hosts: all
- name: get npm setup
src: ../resources/npm
dest: /tmp/npm
become: yes
register: getNpmScript
- debug: var=getNpmScript
- name: setup npm repo
shell: |
cat /tmp/npm/setup/setup_6.x | sudo -E bash -
become: yes
register: setupNpmRepo
- debug: var=setupNpmRepo
- name: install npm packages
apt: name={{ item }} state=latest update_cache=yes
- "nodejs"
become: yes
register: npmPackages
- debug: var=npmPackages
......@@ -9,3 +9,4 @@
- include: gitRepo.yml
- include: jenkins.yml
- include: caddy.yml
- include: npm.yml
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment