# Tmp files still being

**URL:** <https://forum.ansible.com/t/tmp-files-still-being/22750>\
**Category:** Ansible Project\
**Tags:** ubuntu\
**Created:** [October 9, 2016, 12:48am UTC](https://forum.ansible.com/t/tmp-files-still-being/22750 "2016-10-09T00:48:29Z")\
**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:** [October 9, 2016, 12:48am UTC](https://forum.ansible.com/t/tmp-files-still-being/22750/1 "2016-10-09T00:48:29Z")

</div>

install Ubuntu 13.1

then

`  
apt-get install git python-pip setuptools

$ git clone git://github.com/ansible/ansible.git --recursive  
$ cd ./ansible

`

```auto

$ source ./hacking/env-setup 
$ source ./hacking/env-setup -q

```

prevent “Python.h” error

```auto

> $ apt-get install python-dev libffi-dev libssl-dev

```

`  
$ pip install setuptools pip --upgrade  
$ pip install cffi  
$ pip install paramiko PyYAML Jinja2 httplib2 six

`

`

```auto

```

`

now I finish my installation.

First,use

``

``  
$ ansible 192.168.2.85 -m ping

``

it let me install sshpass

``

``  
$ apt-get install sshpass

``

then

`  
$ ansible 192.168.2.85 -m ping

192.168.2.85 | SUCCESS =\> {  
“changed”: false,  
“ping”: “pong”  
}

`

```auto

```

it’s ok, tmp file did not appear;

Second,!!!  
I am using the official example([http://docs.ansible.com/ansible/developing\_api.html](http://docs.ansible.com/ansible/developing_api.html)) :

``

`$ python official.py`

[https://github.com/haroldTlan/ansible/blob/master/official.py](https://github.com/haroldTlan/ansible/blob/master/official.py)

`  
$ cd /.ansible/tmp  
$ ls  
ansible-local-65005zhPKlI ansible-local-70192KRXI4M

`

but tmp files still there

```auto

```

Is there any installation step wrong?  
or official code wrong?
