Fix: Replace nodejs-dev with libnode-dev on 20.04 Ubuntu
Should fix IT-24453

Issue-ID: CIMAN-33
Signed-off-by: Bengt Thuree <bthuree@linuxfoundation.org>
Change-Id: Ieaffcda560eaa39d49ad3a66ddf1c19f0a286e8c
diff --git a/packer/provision/local-docker.yaml b/packer/provision/local-docker.yaml
index 869202d..0d0d86c 100644
--- a/packer/provision/local-docker.yaml
+++ b/packer/provision/local-docker.yaml
@@ -142,7 +142,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 supporting packages
       apt: