Debian Codegraph @

test/integration/targets/plugin_loader/deprecated_core_plugins.yml

raw
1 - hosts: localhost
2 gather_facts: no
3 tasks:
4 - name: run a deprecated core module
5 deprecated_core_module:
6 register: deprecated_module
7
8 - name: run a task under a deprecated core connection
9 ping:
10 vars:
11 ansible_connection: deprecated_core_connection
12 register: deprecated_connection
13
14 - assert:
15 that:
16 - deprecated_module.deprecations | selectattr('msg', 'search', 'test module deprecation warning text') | length == 1
17 - deprecated_connection.deprecations | selectattr('msg', 'search', 'test connection deprecation warning text') | length == 1