Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create ci user keychain fails due to permissions issue #12

Open
navops29 opened this issue Mar 3, 2021 · 0 comments
Open

Create ci user keychain fails due to permissions issue #12

navops29 opened this issue Mar 3, 2021 · 0 comments

Comments

@navops29
Copy link

navops29 commented Mar 3, 2021

I am trying to use the ansible-role-osx-ci to set up a Mojave machine on Macstadium and I get the following error:

TASK [macstadium.osx_ci : Create ci user keychain] ***********************************************************************************************************************************************************************************************************
fatal: [<ip-redacted>]: FAILED! => {
    "msg": "Failed to set permissions on the temporary files Ansible needs to create when becoming an unprivileged user (rc: 1, err: chown: /var/tmp/ansible-tmp-1614801194.6299698-24857-84616697763498/: Operation not permitted\nchown: /var/tmp/ansible-tmp-1614801194.6299698-24857-84616697763498/AnsiballZ_keychain.py: Operation not permitted\n}). For information on working around this, see https://docs.ansible.com/ansible/become.html#becoming-an-unprivileged-user"
}

The ci-user gets created successfully, but the next step to create the user keychain fails (The link present in the error message does not work).

Any help is appreciated. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant