mirror of https://github.com/ansible/ansible.git
parent
e9d202f944
commit
5c029abac1
@ -0,0 +1,12 @@
|
||||
- name: Try with nonexistent path
|
||||
alternatives:
|
||||
name: dummy
|
||||
path: '/non/existent/path/there'
|
||||
link: '/usr/bin/dummy'
|
||||
ignore_errors: True
|
||||
register: alternative
|
||||
|
||||
- name: Check previous task failed
|
||||
assert:
|
||||
that:
|
||||
- 'alternative|failed'
|
Loading…
Reference in New Issue