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: