# Install Cordova on mac machine using Ansible

**URL:** <https://forum.ansible.com/t/install-cordova-on-mac-machine-using-ansible/24225>\
**Category:** Ansible Project\
**Tags:** galaxy-ng\
**Created:** [April 17, 2017, 10:07am UTC](https://forum.ansible.com/t/install-cordova-on-mac-machine-using-ansible/24225 "2017-04-17T10:07:46Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![resudhakar](https://avatars.discourse-cdn.com/v4/letter/r/b487fb/32.png) [@resudhakar](https://forum.ansible.com/u/resudhakar)\
**Post date:** [April 17, 2017, 10:07am UTC](https://forum.ansible.com/t/install-cordova-on-mac-machine-using-ansible/24225/1 "2017-04-17T10:07:46Z")

</div>

Hello Everyone,

i’m trying to setup one of my mac machine using ansible playbook and i want to install cordova as part of dependencies. i have wrote a playbook and even tried to call some roles which are available in ansible-galaxy. but for all of them i’m getting the below error. please let me know where i’m doing wrong.

Thanks in advance.

**Error:**

TASK [martinmicunda.ionic : Install Cordova] \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*  
fatal: [\*\*]: FAILED! =\> {“changed”: false, “failed”: true, “msg”: “Failed to find required executable npm in paths: /Users/builder/.fastlane/bin:/apps/groovy/bin:/Users/builder/perl5/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin”}

**My Playbook:**
