summaryrefslogtreecommitdiff
path: root/changelogs
diff options
context:
space:
mode:
authorSam Doran <sdoran@redhat.com>2020-12-07 19:08:56 -0500
committerGitHub <noreply@github.com>2020-12-07 18:08:56 -0600
commitab417f373ac51677e59adf020a5dbfb9616af457 (patch)
tree2c05488d04c92d45c64bc0fd258ad55e19addf9f /changelogs
parentc67d7225e9209787806881d53d969155a6159a39 (diff)
downloadansible-ab417f373ac51677e59adf020a5dbfb9616af457.tar.gz
[stable-2.10] pause - do not hang if run in the background (#72065) (#72605)
* 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. (cherry picked from commit 4b8cb6582b) Co-authored-by: Sam Doran <sdoran@redhat.com>
Diffstat (limited to 'changelogs')
-rw-r--r--changelogs/fragments/32143-pause-background-hangs.yml4
1 files changed, 4 insertions, 0 deletions
diff --git a/changelogs/fragments/32143-pause-background-hangs.yml b/changelogs/fragments/32143-pause-background-hangs.yml
new file mode 100644
index 0000000000..b125e542f1
--- /dev/null
+++ b/changelogs/fragments/32143-pause-background-hangs.yml
@@ -0,0 +1,4 @@
+bugfixes:
+ - >
+ pause - Fix indefinite hang when using a pause task on a background
+ process (https://github.com/ansible/ansible/issues/32142)