blob: ae1bb28af19bffd26342d0fae6dbaa8706929f44 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
- hosts: localhost
gather_facts: false
vars:
verbosity: "{{ '' if not ansible_verbosity else '-' ~ ('v' * ansible_verbosity) }}"
tasks:
- command: ansible-playbook {{ verbosity }} delegate_to_lookup_context.yml
register: result
- assert:
that:
- >
'[WARNING]: Unable to find' not in result.stderr
|