ansible-androidstudio
ansible-androidstudio copied to clipboard
Running on macOS results in failure
β What are you experiencing an issue with?
Latest Release
β Version
2.4.0
π Description
When running this as a role with my playbook on macOS, I run into an error with Ansible.
macOS: 15.0.1 Ansible: 2.15.12
βΊοΈ Steps To Reproduce
- Add role to requirements.yml
- Apply role in playbook. I did it through
include_role - Run the playbook with
--ask-become-pass
---
- hosts: localhost
tasks:
- name: Install Android Studio
include_role:
name: professormanhattan.androidstudio
π Relevant Log Output
TASK [professormanhattan.androidstudio : Ensure custom facts directory exists] ********************************************************************************************
fatal: [localhost]: FAILED! => {"msg": "Failed to set permissions on the temporary files Ansible needs to create when becoming an unprivileged user (rc: 1, err: chmod: Invalid file mode: A+user:{{ ansible_user if ansible_os_family == 'Windows' else omit }}:rx:allow\n}). For information on working around this, see https://docs.ansible.com/ansible-core/2.15/playbook_guide/playbooks_privilege_escalation.html#risks-of-becoming-an-unprivileged-user#risks-of-becoming-an-unprivileged-user"}
π‘ Possible Solution
No response