4b8cb6582b
* Consolidate logic for determining whether or not session is interactive into a single function, is_interactive() * Increase test coverage I wasn't able to find a good way of simulating running a backgrounded test with CI since the whole test is essentially run not in a TTY, which is similar enough to cause the new is_interactive() function to always return false.
10 lines
147 B
YAML
10 lines
147 B
YAML
- name: Test pause in a background task
|
|
hosts: localhost
|
|
gather_facts: no
|
|
become: no
|
|
|
|
tasks:
|
|
- pause:
|
|
|
|
- pause:
|
|
seconds: 1
|