Merge "Migrate SDC DCAE jobs"
authorJessica Wagantall <jwagantall@linuxfoundation.org>
Thu, 19 Mar 2020 00:44:54 +0000 (00:44 +0000)
committerGerrit Code Review <gerrit@onap.org>
Thu, 19 Mar 2020 00:44:54 +0000 (00:44 +0000)
packer/provision/local-builder.yaml

index 61cc509..162ac3f 100644 (file)
       become: true
       when: ansible_distribution == 'Ubuntu'
 
+    - name: Install libssl1.0-dev dep
+      apt:
+        name: libssl1.0-dev
+        update_cache: yes
+        state: fixed
+      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 base packages
       apt:
         name:
           - crudini
           - maven
           - python-ncclient
-          - nodejs-dev
-          - node-gyp
+        update_cache: yes
+      become: true
+      when: ansible_distribution == 'Ubuntu'
+
+    - name: Install npm and addon packages
+      apt:
+        name:
           - nodejs
           - npm
+          - node-gyp
         update_cache: yes
+        state: fixed
       become: true
       when: ansible_distribution == 'Ubuntu'
+
+