mac-dev-playbook
mac-dev-playbook copied to clipboard
Execution via SSH with MAS failed - local execution OK
SSH:
PLAY [studio] ****************************************************************************************************************************************************************************************
TASK [geerlingguy.mac.mas : Ensure MAS is installed.] ************************************************************************************************************************************************
[WARNING]: Platform darwin on host xxx.xxx.xxx.xxx is using the discovered Python interpreter at /usr/bin/python3, but future installation of another Python interpreter could change the meaning of
that path. See https://docs.ansible.com/ansible-core/2.12/reference_appendices/interpreter_discovery.html for more information.
ok: [xxx.xxx.xxx.xxx]
TASK [geerlingguy.mac.mas : Get MAS account status]
**************************************************************************************************************************************************
**fatal: [xxx.xxx.xxx.xxx]: FAILED! => changed=false
cmd: mas account
failed_when_result: true
msg: '[Errno 2] No such file or directory: b''mas'''
rc: 2
stderr: ''
stderr_lines: <omitted>
stdout: ''
stdout_lines: <omitted>**
PLAY RECAP *******************************************************************************************************************************************************************************************
xxx.xxx.xxx.xxx : ok=1 changed=0 unreachable=0 failed=1 skipped=0 rescued=0 ignored=0
LOCAL:
PLAY [localhost] *************************************************************************************************************************************************************************************
TASK [geerlingguy.mac.mas : Ensure MAS is installed.] ************************************************************************************************************************************************
ok: [localhost]
TASK [geerlingguy.mac.mas : Get MAS account status] **************************************************************************************************************************************************
ok: [localhost]
TASK [geerlingguy.mac.mas : Sign in to MAS when email and password are provided.] ********************************************************************************************************************
skipping: [localhost]
TASK [geerlingguy.mac.mas : Sign in to MAS when email is provided, and complete password and 2FA using dialog.] **************************************************************************************
skipping: [localhost]
TASK [geerlingguy.mac.mas : List installed MAS apps.] ************************************************************************************************************************************************
ok: [localhost]
Environment:
MAS Version 1.8.6 MacOS: 12.4