mirror of https://github.com/ansible/ansible.git
added timeout options to adhoc and console (#71230)
* added timeout options to adhoc and console * added test * fix typosesz * fix conflict * task_timeout * fix timeout option, added extra vars to console * actually use right cli switch .. DUH! * added timeout to include 'valid' but ignored keys * fix default * fixes per reviewpull/72436/head
parent
96c1972439
commit
cb94c0cc55
@ -0,0 +1,3 @@
|
||||
minor_changes:
|
||||
- New 'timeout' feature added to adhoc and console CLIs, corresponding to the recent 'timeout' task keyword.
|
||||
- Also added extra vars cli option to console CLI.
|
@ -0,0 +1 @@
|
||||
shippable/posix/group2
|
@ -0,0 +1,6 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
set -eux
|
||||
|
||||
# run type tests
|
||||
ansible -a 'sleep 20' --task-timeout 5 localhost |grep 'The command action failed to execute in the expected time frame (5) and was terminated'
|
Loading…
Reference in New Issue