Debian Codegraph @

test/integration/targets/ansiballz_debugging/tasks/main.yml

raw
1 - name: Run a module with remote debugging configured to use a bogus debugger module
2 ping:
3 vars:
4 _ansible_ansiballz_pydevd_config:
5 module: not_a_valid_debugger_module
6 register: result
7 ignore_errors: yes
8
9 - name: Verify the module failed due to not being able to import the bogus debugger module
10 assert:
11 that:
12 - result is failed
13 - result.msg is contains "No module named 'not_a_valid_debugger_module'"