You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
618 B
YAML
21 lines
618 B
YAML
# Ensure 'ssh' connections time out correctly.
|
|
|
|
- name: integration/ssh/timeouts.yml
|
|
hosts: test-targets
|
|
tasks:
|
|
- connection: local
|
|
command: ansible -vvv -i "{{inventory_file}}" test-targets -m custom_python_detect_environment -e ansible_user=mitogen__slow_user -e ansible_password=slow_user_password
|
|
register: out
|
|
ignore_errors: true
|
|
when: is_mitogen
|
|
|
|
- assert:
|
|
that:
|
|
- |
|
|
'"changed": false' in out.stdout
|
|
- |
|
|
'"unreachable": true' in out.stdout
|
|
- |
|
|
'"msg": "Connection timed out."' in out.stdout
|
|
when: is_mitogen
|