This website requires JavaScript.
Explore
Help
Sign in
ansible
/
community.general
Watch
1
Star
0
Fork
You've already forked community.general
0
mirror of
https://github.com/ansible-collections/community.general.git
synced
2024-09-14 20:13:21 +02:00
Code
Releases
Activity
8e0f95951d
community.general
/
test
/
integration
/
targets
/
pause
/
test-pause-no-tty.yml
8 lines
93 B
YAML
Raw
Normal View
History
Unescape
Escape
Fix ctrl+c in pause module and add tests (#40134) * Fix all cases with pause and ctrl+c - naked: - pause: - with prompt - pause: prompt=hi - time wait - pause: seconds=60 - time wait with prompt - pause: seconds=60 prompt=hi Fixes #35372 * Use curses to control stdout * Use curses to clear lines on interactive input * Validate input for echo parameter and fail nicely if invalid * Add integration tests for pause module using pexpect * Use try except when trying to determine erase sequence to account for lack of TTY in containers in tests * Improve output validation for regular paus test * Accept two digit precision for pause length in test * Check for seconds when seconds is specificed, minutes when minutes is specified * Add test for no TTY mode Co-authored by: Toshio Kuratomi <a.badger@gmail.com> Co-authored by: Brian Coca <brian.coca+git@gmail.com>
2018-05-21 16:04:43 +02:00
-
name
:
Test pause
More test fixes for split controller/remote tests.
2019-01-26 04:37:56 +01:00
hosts
:
localhost
Fix ctrl+c in pause module and add tests (#40134) * Fix all cases with pause and ctrl+c - naked: - pause: - with prompt - pause: prompt=hi - time wait - pause: seconds=60 - time wait with prompt - pause: seconds=60 prompt=hi Fixes #35372 * Use curses to control stdout * Use curses to clear lines on interactive input * Validate input for echo parameter and fail nicely if invalid * Add integration tests for pause module using pexpect * Use try except when trying to determine erase sequence to account for lack of TTY in containers in tests * Improve output validation for regular paus test * Accept two digit precision for pause length in test * Check for seconds when seconds is specificed, minutes when minutes is specified * Add test for no TTY mode Co-authored by: Toshio Kuratomi <a.badger@gmail.com> Co-authored by: Brian Coca <brian.coca+git@gmail.com>
2018-05-21 16:04:43 +02:00
gather_facts
:
no
become
:
no
tasks
:
-
pause
:
Copy permalink