blob: f124cce2967e4f46c1a42ffd4ed17ea230da20e4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
- hosts: all
gather_facts: no
any_errors_fatal: true
tasks:
- block:
- block:
- fail:
when: inventory_hostname == 'host1'
rescue:
- fail:
- block:
- debug:
msg: "SHOULD NOT HAPPEN"
|