# Use ansible-playbook to run tasks ERROR, because of diskspcae is full，already using 100% in root ‘/‘。 errorlog： usable temporary directory

**URL:** <https://forum.ansible.com/t/use-ansible-playbook-to-run-tasks-error-because-of-diskspcae-is-full-already-using-100-in-root-errorlog-usable-temporary-directory/3316>\
**Category:** Get Help\
**Created:** [January 15, 2024, 7:19am UTC](https://forum.ansible.com/t/use-ansible-playbook-to-run-tasks-error-because-of-diskspcae-is-full-already-using-100-in-root-errorlog-usable-temporary-directory/3316 "2024-01-15T07:19:22Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![newbie06667](https://avatars.discourse-cdn.com/v4/letter/n/74df32/32.png) [@newbie06667](https://forum.ansible.com/u/newbie06667)\
**Post date:** [January 15, 2024, 7:19am UTC](https://forum.ansible.com/t/use-ansible-playbook-to-run-tasks-error-because-of-diskspcae-is-full-already-using-100-in-root-errorlog-usable-temporary-directory/3316/1 "2024-01-15T07:19:22Z")

</div>

【question】  
1、Use ansible-playbook to run tasks ERROR, because of diskspcae is full，already using 100% in root ‘/‘。  
**errorlog** ：  
**An exception occurred during task execution. To see the full traceback, use -vvv. The error was: IOError: [Errno 2] No usable temporary directory found in [‘/tmp’, ‘/var/tmp’, ‘/usr/tmp’, ‘/root’]**

2、using configure “remote\_tmp” is useless(path"/dev" is empty, set in this)， perhaps its pythons config?

3、 **digression** although i try to write shell to clean something file，and run it successfly。 i want to know ansible have other resolve methoer or not

【version】:

```auto
ansible-playbook 2.9.27
  config file = /data/hanjaezheng/service/tools/ansible/ansible.cfg
  configured module search path = [u'/root/.ansible/plugins/modules', u'/usr/share/ansible/plugins/modules']
  ansible python module location = /usr/lib/python2.7/site-packages/ansible
  executable location = /usr/bin/ansible-playbook
  python version = 2.7.5 (default, Nov 27 2020, 13:20:09) [GCC 4.8.5 20150623 (Red Hat 4.8.5-44)]

```

【tasks】

```auto
- hosts: all
  remote_user: root
  gather_facts: no
  tasks:
    - name: delete-core-file
      become: true
      shell: rm -rf /data/service/face_recognition/scripts/core*
    - name: kill
      shell: cd /data/service/face_recognition/scripts; sh killall.sh 
    - name: restart
      shell: cd /data/service/face_recognition/scripts; sh check_alive.sh

```

【config】

```auto
[defaults]
remote_tmp = /dev
interpreter_python = auto_silent
fact_caching = memory
fact_caching_timeout = 300
log_path = ansible.log

forks = 1
host_key_checking = False
nocows = 1
callback_whitelist = profile_tasks

# This is the default SSH timeout to use on connection attempts
timeout = 30

[ssh_connection]
# see: https://github.com/ansible/ansible/issues/11536
control_path = %(directory)s/%%h-%%r-%%p
ssh_args = -o ControlMaster=auto -o ControlPersist=600s
pipelining = True

```
