My ansible version:
ansible 2.5.0
When I run the playbook against "local" this works just fine, but if run from as remote using ssh, it fails and gives the following error:
Failed to find required executable npm in paths
Playbook:
- name: installing node
homebrew:
name: node
state: present
update_homebrew: yes
- name: Install appium from npm (always up to date)
npm:
name: appium
state: latest
global: yes