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

This commit is contained in:
Toshio Kuratomi 2018-06-12 16:16:15 -07:00
parent 5fdd101a3e
commit a5fd86cf6d

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