mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-04-06 10:43:14 +00:00
Add potential work-around for expect on macOS.
http://pexpect.readthedocs.io/en/stable/commonissues.html#truncated-output-just-before-child-exits
This commit is contained in:
@@ -61,7 +61,7 @@
|
||||
|
||||
- name: test chdir
|
||||
expect:
|
||||
command: "pwd"
|
||||
command: "/bin/sh -c 'pwd && sleep 1'"
|
||||
chdir: "{{output_dir}}"
|
||||
responses:
|
||||
foo: bar
|
||||
|
||||
Reference in New Issue
Block a user