# tmp files still being

**URL:** <https://forum.ansible.com/t/tmp-files-still-being/22635>\
**Category:** Ansible Project\
**Created:** [September 24, 2016, 1:47am UTC](https://forum.ansible.com/t/tmp-files-still-being/22635 "2016-09-24T01:47:21Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![harold\_T](https://avatars.discourse-cdn.com/v4/letter/h/b5e925/32.png) [@harold\_T](https://forum.ansible.com/u/harold_T)\
**Post date:** [September 24, 2016, 1:47am UTC](https://forum.ansible.com/t/tmp-files-still-being/22635/1 "2016-09-24T01:47:21Z")

</div>

each time I use ansible python api to do sth, it will create tmp files in`

``

`~/.ansible/tmp`

update:

I used the office code

[http://docs.ansible.com/ansible/developing\_api.html](http://docs.ansible.com/ansible/developing_api.html)

and run it, it will appear tmp file too.

`

however, if I used ansible-play, it was not happened.

`ansible-playbook test.yml`

by the way, I used ansible\_2.2.0

[https://github.com/ansible/ansible/issues/17716](https://github.com/ansible/ansible/issues/17716)

I hope it was a user question, because it mean it can resolve
