X-Git-Url: https://gerrit.onap.org/r/gitweb?a=blobdiff_plain;f=packer%2Fprovision%2Flocal-docker.yaml;h=6e3aad8c522e75b7399f58c60a572a331bb315a5;hb=1c371f0ee90a739fc934fd052dbfe9e65a97fdaa;hp=c0c0233f2e006c2d156d1dd811cf2f45654c9567;hpb=aea673bb5fc4f92297ef3798abdd203157359d08;p=ci-management.git diff --git a/packer/provision/local-docker.yaml b/packer/provision/local-docker.yaml index c0c0233f2..6e3aad8c5 100644 --- a/packer/provision/local-docker.yaml +++ b/packer/provision/local-docker.yaml @@ -209,14 +209,17 @@ - name: npm self-update command: npm install npm@{{ npm_version }} -g become: true + when: ansible_distribution == 'Ubuntu' - name: npm install n module command: npm install n -g become: true + when: ansible_distribution == 'Ubuntu' - name: Upgrade latest stable node version command: n stable | PATH="$PATH" become: true + when: ansible_distribution == 'Ubuntu' - name: Add Google Chrome key apt_key: