# Ansible.builtin.pause failing Inappropriate ioctl for device

**URL:** <https://forum.ansible.com/t/ansible-builtin-pause-failing-inappropriate-ioctl-for-device/44328>\
**Category:** Get Help\
**Tags:** ansible-project, docker, ansible-core\
**Created:** [August 19, 2025, 4:55pm UTC](https://forum.ansible.com/t/ansible-builtin-pause-failing-inappropriate-ioctl-for-device/44328 "2025-08-19T16:55:51Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![xiao\_shen](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/xiao_shen/32/9296_2.png) [@xiao\_shen](https://forum.ansible.com/u/xiao_shen)\
**Post date:** [August 19, 2025, 4:55pm UTC](https://forum.ansible.com/t/ansible-builtin-pause-failing-inappropriate-ioctl-for-device/44328/1 "2025-08-19T16:55:51Z")

</div>

When I try to run a playbook with `ansible.builtin.pause` through `docker run -t` with github runner workflow. It returns error with  
` {"msg": "[Errno 25] Inappropriate ioctl for device"}`  
I did search that I need to pass in -t for Docker, but that doesn’t seem to work. is there some way to bypass pause tty or something?

My ansible version is

```auto
$ ansible --version
ansible [core 2.18.4]
  config file = /etc/ansible/ansible.cfg
  configured module search path = ['/ws1dev/collections/content/plugins/modules']
  ansible python module location = /usr/share/venv/lib/python3.12/site-packages/ansible
  ansible collection location = /root/.ansible/collections:/ws1dev/collections:/usr/share/ansible/collections:/ws1dev/collections/content/collections
  executable location = /usr/share/venv/bin/ansible
  python version = 3.12.11 (main, Jun 25 2025, 00:00:00) [GCC 11.5.0 20240719 (Red Hat 11.5.0-5)] (/usr/share/venv/bin/python)
  jinja version = 3.1.5
  libyaml = True

```
