ansible-androidstudio icon indicating copy to clipboard operation
ansible-androidstudio copied to clipboard

Running on macOS results in failure

Open jadar opened this issue 1 year ago β€’ 0 comments

❔ 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

  1. Add role to requirements.yml
  2. Apply role in playbook. I did it through include_role
  3. 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

jadar avatar Oct 17 '24 18:10 jadar