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.
ansible/test/integration/targets/ansiballz_debugging/tasks/main.yml

14 lines
437 B
YAML

- name: Run a module with remote debugging configured to use a bogus debugger module
ping:
vars:
_ansible_ansiballz_pydevd_config:
module: not_a_valid_debugger_module
register: result
ignore_errors: yes
- name: Verify the module failed due to not being able to import the bogus debugger module
assert:
that:
- result is failed
- result.msg is contains "No module named 'not_a_valid_debugger_module'"