Code Review
/
ci-management.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Update local-docker
[ci-management.git]
/
packer
/
provision
/
local-docker.yaml
diff --git
a/packer/provision/local-docker.yaml
b/packer/provision/local-docker.yaml
index
c0c0233
..
6e3aad8
100644
(file)
--- 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
- 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
- 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
- name: Upgrade latest stable node version
command: n stable | PATH="$PATH"
become: true
+ when: ansible_distribution == 'Ubuntu'
- name: Add Google Chrome key
apt_key:
- name: Add Google Chrome key
apt_key: