unarchive:
src: ~/archive/STORE/phd/Home/phd.tar.bz2
dest: /home
+ register: phd_extracted
+ failed_when: "(ansible_facts.os_family == 'Debian' and 'rc' in phd_extracted and phd_extracted.rc != 0) or (ansible_facts.os_family == 'RedHat' and ('rc' in phd_extracted and phd_extracted.rc not in [0, 139]))"
- name: Add alias
become: true