mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-08 14:20:04 -07:00
Fix Yarn global not working without explicit executable path (#6138)
* Fix Yarn global not working without explicit executable path * changelog fragment * fix formatting and add test * oops
This commit is contained in:
parent
2dee3464dd
commit
3d67f51824
3 changed files with 18 additions and 7 deletions
|
@ -108,6 +108,15 @@
|
|||
that:
|
||||
- yarn_install_old_package is changed
|
||||
|
||||
- name: 'Again but without explicit executable path'
|
||||
yarn:
|
||||
path: '{{ remote_tmp_dir }}'
|
||||
name: left-pad
|
||||
version: 1.1.0
|
||||
state: present
|
||||
environment:
|
||||
PATH: '{{ yarn_bin_path }}:{{ node_bin_path }}:{{ ansible_env.PATH }}'
|
||||
|
||||
- name: 'Upgrade old package'
|
||||
yarn:
|
||||
path: '{{ remote_tmp_dir }}'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue