mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
bf9ed0263a
* Ensure action plugins accept only valid args This fixes #25424 This also fixes #44773 * Add missing parameters, use private _VALID_ARGS
17 lines
411 B
YAML
17 lines
411 B
YAML
- name: Test normal connection to target node
|
|
wait_for_connection:
|
|
connect_timeout: 5
|
|
sleep: 1
|
|
timeout: 10
|
|
|
|
- name: Use invalid parameter
|
|
wait_for_connection:
|
|
foo: bar
|
|
ignore_errors: yes
|
|
register: invalid_parameter
|
|
|
|
- name: Ensure task fails with error
|
|
assert:
|
|
that:
|
|
- invalid_parameter is failed
|
|
- "invalid_parameter.msg == 'Invalid options for wait_for_connection: foo'"
|