Comments (3)
I stumbled upon another problem. Upon solving that error, I realised that my problem here is due to mas
not being on the$PATH
. The path to mas
is /opt/homebrew/bin
on arm64. I solved this by adding the two lines regarding environment as below:
name: ansible-collection-mac/roles/mas
when: mas_installed_apps or mas_installed_app_ids
tags: ['mas']
environment:
PATH: /opt/homebrew/bin:/usr/local/bin:{{ ansible_facts.env.PATH }}
from ansible-collection-mac.
These are the lines that are depreciated in 12:
ansible-collection-mac/roles/mas/tasks/main.yml
Lines 5 to 27 in a174f97
from ansible-collection-mac.
And this is the error I receive:
fatal: [10.42.0.202]: FAILED! => changed=false
cmd: mas account
failed_when_result: true
invocation:
module_args:
_raw_params: mas account
_uses_shell: false
argv: null
chdir: null
creates: null
executable: null
removes: null
stdin: null
stdin_add_newline: true
strip_empty_ends: true
warn: false
msg: '[Errno 2] No such file or directory: b''mas'''
rc: 2
stderr: ''
stderr_lines:
stdout: ''
stdout_lines:
from ansible-collection-mac.
Related Issues (20)
- Sudo Issue with Cask Installed Item
- Ansible fails on a warning message coming from `brew` for a Formula which has an identically named Cask HOT 2
- Homebrew - Add support for link and unlink HOT 2
- Symlink brew to homebrew_brew_bin_path with root user HOT 2
- [M2 issue] Bad CPU type in executable b''/usr/local/bin/git''' HOT 2
- Failed geerlingguy.mac.homebrew : Ensure proper ownership on homebrew_install_path subdirs. HOT 3
- Dock Command does not install correctly, causing the dock commands to skip HOT 6
- Support for spacers in the dock role
- Homebrew fails when tapping homebrew/core HOT 6
- PATH issue finding MAS, when running REMOTELY HOT 1
- Tapping default homebrew taps is broken HOT 2
- install path /opt/homebrew/Homebrew is unsupported HOT 2
- TypeError during Homebrew Cask Installation of android-platform-tools on MacOS HOT 5
- Error on [geerlingguy.mac.homebrew : Ensure proper ownership on homebrew_install_path subdirs.] OSError: [Errno 63] File name too long. HOT 1
- Error during: Ensure Homebrew is installed
- Ensure proper ownership fails for apps with admin as group HOT 1
- Cannot install collection with galaxy: Connection Reset By Peer HOT 1
- Issues possibly with folder permissions HOT 1
- Cannot install git-credential-manager-core
- Make the binary path of "brew" accessible outside role context
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ansible-collection-mac.