mirror of
https://github.com/geerlingguy/mac-dev-playbook
synced 2024-11-22 03:43:06 +00:00
add executable option for nvm/pip3/rvm
This commit is contained in:
parent
b70e5a1c23
commit
09c6732928
1 changed files with 3 additions and 0 deletions
|
@ -13,6 +13,7 @@
|
||||||
version: "{{ item.version | default('latest') }}"
|
version: "{{ item.version | default('latest') }}"
|
||||||
state: "{{ item.state | default('present') }}"
|
state: "{{ item.state | default('present') }}"
|
||||||
global: yes
|
global: yes
|
||||||
|
executable: "{{ item.executable | default(omit) }}"
|
||||||
with_items: "{{ npm_packages }}"
|
with_items: "{{ npm_packages }}"
|
||||||
|
|
||||||
- name: Install global Pip packages.
|
- name: Install global Pip packages.
|
||||||
|
@ -20,6 +21,7 @@
|
||||||
name: "{{ item.name | default(item) }}"
|
name: "{{ item.name | default(item) }}"
|
||||||
version: "{{ item.version | default(omit) }}"
|
version: "{{ item.version | default(omit) }}"
|
||||||
state: "{{ item.state | default('latest') }}"
|
state: "{{ item.state | default('latest') }}"
|
||||||
|
executable: "{{ item.executable | default(omit) }}"
|
||||||
with_items: "{{ pip_packages }}"
|
with_items: "{{ pip_packages }}"
|
||||||
|
|
||||||
- name: Install global Ruby gems.
|
- name: Install global Ruby gems.
|
||||||
|
@ -28,4 +30,5 @@
|
||||||
version: "{{ item.version | default(omit) }}"
|
version: "{{ item.version | default(omit) }}"
|
||||||
state: "{{ item.state | default('latest') }}"
|
state: "{{ item.state | default('latest') }}"
|
||||||
user_install: false
|
user_install: false
|
||||||
|
executable: "{{ item.executable | default(omit) }}"
|
||||||
with_items: "{{ gem_packages }}"
|
with_items: "{{ gem_packages }}"
|
||||||
|
|
Loading…
Reference in a new issue