-
Notifications
You must be signed in to change notification settings - Fork 199
Lots of empty directories left in /tmp #397
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
Comments
Perhaps a side effect of using:
? |
Nope, without it I get lots in /root/.ansible/tmp, including a:
|
This is a regression with the new temp file handling code for 2.7, should hopefully have a fix today (yay, finally a free day to look at this stuff :) ) |
The problem was due to removing duplicate data appearing in multiple places. I forgot that the default Ansible behaviour is to reset that "shell.tmpdir" behaviour after remove is called. Fixed and test added for it. Thanks a ton for reporting this! Hopefully will have an interim 0.2.4 release out perhaps by end of day. |
Newer Ansibles use atexit.register() to invoke cleanup, so we need to run those registrations after each run.
…ng-num-change 12537-zoom-hongkong-num-change - allowguest=yes
ansible 2.7.0
mitogen git ad44ad1 (Oct 3)
Scientific Linux 7.5
After running I end up with lots of empty directories left in tmp:
The text was updated successfully, but these errors were encountered: