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 gather_facts: no
connection: ssh connection: ssh
tasks: tasks:
- name: Fail to run a lineinfile task - name: 'EXPECTED FAILURE: Fail to run a lineinfile task'
vars: vars:
logins: logins:
- machine: foo - machine: foo

Loading…
Cancel
Save