Tasks that are expected to fail need to begin with a special string

pull/41464/head
Toshio Kuratomi 7 years ago
parent 5fdd101a3e
commit a5fd86cf6d

@ -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

Loading…
Cancel
Save