Quantcast
Channel: Active questions tagged windows-subsystem-for-linux - Ask Ubuntu
Viewing all articles
Browse latest Browse all 2810

Failed to find required executable brew in paths - Ansible

$
0
0

I installed the latest version of Ubuntu on my Windows 10 and I am trying to run a playbook:

---  - name: "My first play"    hosts: localhost    tasks:      - name: "test reachability"        ping:      - name: "install stress"        homebrew:          name: stress          state: present

But I get this error on the second task:

fatal: [localhost]: FAILED! => {"changed": false, "msg": "Failed to find required executable brew in paths: /usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin"}PLAY RECAP *************************************************************************************************************localhost                  : ok=2    changed=0    unreachable=0    failed=1    skipped=0    rescued=0    ignored=0

How can I solve this error?


Viewing all articles
Browse latest Browse all 2810

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>