You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@strarsis do you always encounter this warning? I've never seen it so I'm not exactly sure how we could prevent/fix it in these cases.
remote-tmp could be set to something else, but we'd also have to create it first which might be hard because it would have be created before Ansible runs 🤔
@swalkinshaw: I encountered this warning again on an initial provision with a new, clean Ubuntu 24.04 LTS system:
WARNING]: Module remote_tmp /root/.ansible/tmp did not exist and was created
with a mode of 0700, this may cause issues when running as another user. To
avoid this, create the remote_tmp dir with the correct permissions manually
Description
What's wrong?
During initial Trellis playbook run the following warning is emitted:
What have you tried?
Searched for that warning.
What insights have you gained?
The warning can be prevented by setting a field.
Possible solutions
Set the
remote-tmp
field (see https://docs.ansible.com/ansible/2.4/intro_configuration.html#remote-tmp)Temporary workarounds
The warning can be ignored, though the warning also states that this may cause issues with permissions at a later time.
Steps To Reproduce
Notice the warning during the playbook run.
Expected Behavior
Ideally, no warnings should be mitted.
Actual Behavior
Warning is emitted, that can be avoided by setting an option.
Relevant Log Output
No response
Trellis Version
Fix #1277 - Disable PHP CLI memory limit (#1278)
Ansible Version
Trellis CLI Version
(Not applicable; not used)
The text was updated successfully, but these errors were encountered: