- name: Setup include: setup.yml - name: Check availability of xattr support command: setfattr -n user.foo {{ test_file }} ignore_errors: yes register: xattr - name: Test include: test.yml when: xattr is not failed