diff options
Diffstat (limited to 'packer/provision/local-builder.yaml')
-rw-r--r-- | packer/provision/local-builder.yaml | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/packer/provision/local-builder.yaml b/packer/provision/local-builder.yaml index 18017b888..fa1038d17 100644 --- a/packer/provision/local-builder.yaml +++ b/packer/provision/local-builder.yaml @@ -85,7 +85,15 @@ update_cache: yes state: fixed become: true - when: ansible_distribution == 'Ubuntu' + when: ansible_distribution == 'Ubuntu' and ansible_distribution_version == '18.04' + + - name: Install libnode-dev dep for npm + apt: + name: libnode-dev + update_cache: yes + state: fixed + become: true + when: ansible_distribution == 'Ubuntu' and ansible_distribution_version == '20.04' - name: Install base packages apt: |