blob: 87883dc6edd611c77ab9d169037da4252c61a325 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
# This playbooks generates a noop task in the linear strategy, the output is tested that the banner for noop task is not printed https://github.com/ansible/ansible/pull/71344
- hosts: all
gather_facts: no
tasks:
- block:
- name: EXPECTED FAILURE # sate shippable
fail:
when: inventory_hostname == 'host1'
rescue:
- name: rescue
debug:
|