mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-06 13:22:48 +00:00
Allocate an explicit stdin in async_wrapper (#53410)
* add changelog fragment * Add stdin async test * Allocate an explicit stdin in async_wrapper. Fixes #50758
This commit is contained in:
@@ -280,3 +280,9 @@
|
||||
file:
|
||||
path: '{{ custom_async_tmp }}'
|
||||
state: absent
|
||||
|
||||
- name: Test that async has stdin
|
||||
command: >
|
||||
{{ ansible_python_interpreter|default('/usr/bin/python') }} -c 'import os; os.fdopen(os.dup(0), "r")'
|
||||
async: 1
|
||||
poll: 1
|
||||
|
||||
Reference in New Issue
Block a user