Tasks that are expected to fail need to begin with a special string (#41466)

(cherry picked from commit a5fd86cf6d)
This commit is contained in:
Toshio Kuratomi 2018-06-14 11:55:06 -07:00 committed by Matt Davis
parent cbaef99489
commit b4cb0b46e3

View file

@ -73,7 +73,7 @@
gather_facts: no
connection: ssh
tasks:
- name: Fail to run a lineinfile task
- name: 'EXPECTED FAILURE: Fail to run a lineinfile task'
vars:
logins:
- machine: foo