summaryrefslogtreecommitdiffstats
path: root/packer
diff options
context:
space:
mode:
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: