summaryrefslogtreecommitdiffstats
path: root/packer/provision
diff options
context:
space:
mode:
Diffstat (limited to 'packer/provision')
-rw-r--r--packer/provision/local-builder.yaml3
1 files changed, 2 insertions, 1 deletions
diff --git a/packer/provision/local-builder.yaml b/packer/provision/local-builder.yaml
index 0e2976aa8..a34fdb564 100644
--- a/packer/provision/local-builder.yaml
+++ b/packer/provision/local-builder.yaml
@@ -115,7 +115,8 @@
- name: Install nodejs and npm
block:
- name: 'Pull latest nodejs version'
- command: 'curl -sL https://deb.nodesource.com/setup_10.x | sudo -E bash - && sudo apt-get install -y nodejs'
+ shell: |
+ curl -sL https://deb.nodesource.com/setup_10.x | sudo -E bash - && sudo apt-get install -y nodejs
become: yes
- name: 'Check nodejs version'
command: node --version