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

【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】:

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】

- 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】

[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