Swap NPM dependencies
This is a change I miss to commit as part of
dbba0aa4c389e717f043d50d5653d7ac1cb34011
Issue-ID: CIMAN-33
Signed-off-by: Jessica Wagantall <jwagantall@linuxfoundation.org>
Change-Id: Ic64fdc1458ee497eca31afd90ee8624988f88531
diff --git a/packer/provision/local-docker.yaml b/packer/provision/local-docker.yaml
index 6fce67a..5811270 100644
--- a/packer/provision/local-docker.yaml
+++ b/packer/provision/local-docker.yaml
@@ -106,15 +106,6 @@
become: true
when: ansible_distribution == 'Ubuntu'
- - name: Install nodejs-dev dep for npm
- apt:
- name:
- - nodejs-dev
- update_cache: yes
- state: fixed
- become: true
- when: ansible_distribution == 'Ubuntu'
-
- name: Install nodejs-dev libssl1.0-dev dep
apt:
name:
@@ -124,6 +115,15 @@
become: true
when: ansible_distribution == 'Ubuntu' and ansible_distribution_version == '18.04'
+ - name: Install nodejs-dev dep for npm
+ apt:
+ name:
+ - nodejs-dev
+ update_cache: yes
+ state: fixed
+ become: true
+ when: ansible_distribution == 'Ubuntu'
+
- name: Install supporting packages
apt:
name: