summaryrefslogtreecommitdiffstats
path: root/packer
diff options
context:
space:
mode:
authorJessica Wagantall <jwagantall@linuxfoundation.org>2020-03-16 11:49:37 -0700
committerJessica Wagantall <jwagantall@linuxfoundation.org>2020-03-16 18:50:23 +0000
commitd919c8c77aa269b5da8a2dd98f51d049b87451c2 (patch)
treea346702b90d2c0191c6227d71f0c5c17bdcfa675 /packer
parentdbba0aa4c389e717f043d50d5653d7ac1cb34011 (diff)
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
Diffstat (limited to 'packer')
-rw-r--r--packer/provision/local-docker.yaml12
1 files changed, 6 insertions, 6 deletions
diff --git a/packer/provision/local-docker.yaml b/packer/provision/local-docker.yaml
index 6fce67a1b..5811270f8 100644
--- a/packer/provision/local-docker.yaml
+++ b/packer/provision/local-docker.yaml
@@ -106,23 +106,23 @@
become: true
when: ansible_distribution == 'Ubuntu'
- - name: Install nodejs-dev dep for npm
+ - name: Install nodejs-dev libssl1.0-dev dep
apt:
name:
- - nodejs-dev
+ - libssl1.0-dev
update_cache: yes
state: fixed
become: true
- when: ansible_distribution == 'Ubuntu'
+ when: ansible_distribution == 'Ubuntu' and ansible_distribution_version == '18.04'
- - name: Install nodejs-dev libssl1.0-dev dep
+ - name: Install nodejs-dev dep for npm
apt:
name:
- - libssl1.0-dev
+ - nodejs-dev
update_cache: yes
state: fixed
become: true
- when: ansible_distribution == 'Ubuntu' and ansible_distribution_version == '18.04'
+ when: ansible_distribution == 'Ubuntu'
- name: Install supporting packages
apt: