/root/ansible/test/results/.tmp/integration/alternatives-opw77kh5-ÅÑŚÌβŁÈ/test/integration/targets/alternatives/tasks/path_is_checked.yml
- 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 is failed'