--- /dev/null
+- name: Upload archive
+ copy:
+ src: ~/archive/STORE/phd/Home/phd.tar.bz2
+ dest: /tmp
+
+- name: Extract archive
+ shell: "cd /tmp && bzcat phd.tar.bz2 | tar xf -"
+
+- name: Copy home
+ command: rsync -a /tmp/phd /home
+
+- name: Cleanup
+ file:
+ path: "{{ item }}"
+ state: absent
+ loop: ['/tmp/phd', '/tmp/phd.tar.bz2']