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:
Matt Martz 2019-03-07 09:28:44 -06:00 committed by GitHub
parent 72eb8672bf
commit 264d9a9008
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 10 additions and 1 deletions

View file

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