mirror of https://github.com/ansible/ansible.git
Parse async response in async action. (#16534)
* Parse async response in async action.
* Add async test for non-JSON data before module output.
* Fix existing async unit test.
Resolves #16156
(cherry picked from commit 292785ff2b
)
pull/16670/head
parent
a598f26006
commit
75fa80f73c
@ -0,0 +1,10 @@
|
||||
- hosts: testhost3
|
||||
gather_facts: false
|
||||
tasks:
|
||||
# make sure non-JSON data before module output is ignored
|
||||
- name: async ping with invalid locale via ssh
|
||||
ping:
|
||||
async: 3
|
||||
poll: 1
|
||||
register: result
|
||||
- debug: var=result
|
Loading…
Reference in New Issue