Tasks that are expected to fail need to begin with a special string
This commit is contained in:
parent
5fdd101a3e
commit
a5fd86cf6d
1 changed files with 1 additions and 1 deletions
|
@ -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…
Reference in a new issue