mirror of https://github.com/ansible/ansible.git
Make noop tasks implicit (#71344)
Signed-off-by: Rick Elrod <rick@elrod.me> Co-authored-by: Rick Elrod <rick@elrod.me>pull/71357/head
parent
f8aa307659
commit
2675768e3d
@ -0,0 +1,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:
|
Loading…
Reference in New Issue