Open
Conversation
Member
|
This breaks the Traceback (most recent call last):
File "/var/tmp/ansible-tmp-1698688162.544127-2727-11062176442149/AnsiballZ_setup.py", line 281, in <module>
_ansiballz_main()
File "/var/tmp/ansible-tmp-1698688162.544127-2727-11062176442149/AnsiballZ_setup.py", line 261, in _ansiballz_main
temp_path = tempfile.mkdtemp(prefix='ansible_' + 'ansible.legacy.setup' + '_payload_', dir=os.path.expanduser('~/.ansible/tmp'))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/tempfile.py", line 368, in mkdtemp
_os.mkdir(file, 0o700)
FileNotFoundError: [Errno 2] No such file or directory: '/Users/unpriv2/.ansible/tmp/ansible_ansible.legacy.setup_payload_fcwe9ni5'
|
d2e9b0a to
7b67f98
Compare
This comment was marked as resolved.
This comment was marked as resolved.
webknjaz
reviewed
Jun 9, 2025
webknjaz
reviewed
Jun 9, 2025
webknjaz
reviewed
Jun 9, 2025
1 task
5320a2b to
e83b696
Compare
b7d2c56 to
b20bb60
Compare
s-hertel
reviewed
Mar 5, 2026
6caf993 to
ff75b8a
Compare
s-hertel
approved these changes
Mar 5, 2026
2bad539 to
1572368
Compare
* fallback to system in case original is not usable, most likely due to permissions. * added tests, also to ensure we copy the ansiballz to the correct remote * modify exisitng test to account for remote users and a-t
58c22a2 to
9e4276e
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
handle all corner cases, ensure we always have a tmp dir value
moved 'none' protection to modify module
fixes #27699
ISSUE TYPE