-
-
Notifications
You must be signed in to change notification settings - Fork 57
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
install bootstrap packages mkstemp (13: Permission denied) #63
Comments
I experienced this same issue today. Same OS and release, Ubuntu Focal. Ansible version 2.13.1 and Python 3.8.10 (from package distro). The problem occurs in the task |
Sorry. Just now, saw the pull request. |
+1 for RHEL failed: [hostname] (item=python3) => {"ansible_loop_var": "item", "changed": false, "item": "python3", "msg": "This command has to be run under the root user.", "results": []} Changed robertdebock.bootstrap/tasks/main.yaml, last task, install bootstrap packages (package) changed: I see there was a pull request, but it was closed. |
+1 for Debian ansible [core 2.13.1] cat /etc/os-release |
+1 for Ubuntu cat /etc/os-release |
Actually this issue can be resolved just by using ansible_become: yes with no modification to source files:
|
Describe the bug
Could not create temporary file for /var/lib/apt/extended_states - mkstemp (13: Permission denied)
Run playbook from user with sudo without password
Playbook
Output
Environment
Version
Server where ansible
Remote server
The text was updated successfully, but these errors were encountered: