blob: 339c1b7246c6364cb3614bb2af0976651ff183fd (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
- name: Raw
raw: echo 123
delegate_to: "{{ item }}"
register: result
ignore_errors: true
- assert:
that:
- "result.failed == true"
- "'Executing local code is prohibited' in result.msg"
msg: Raw must fail due to local code execution restriction
|