mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-08 06:12:51 +00:00
Tasks that are expected to fail need to begin with a special string
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user