# STR requires that artifacts dir must be absent
- name: "Check if {{artifacts}} is absent at test-environment."
stat:
path: "{{remote_artifacts}}"
register: st_te
- fail:
msg: "Remove {{remote_artifacts}} before test run at test-environment."
when: st_te.stat.exists