]> git.phdru.name Git - ansible.git/blobdiff - playbooks/roles/debian/phd/tasks/main.yml
Feat(debian/phd): Merge `setup-home` back into `main`
[ansible.git] / playbooks / roles / debian / phd / tasks / main.yml
index fb60720734bb026938db21e82cf7799e0801096a..455605f45225f57ee9cd14ba4ef9505991f20cce 100644 (file)
@@ -7,10 +7,12 @@
     msg: "User phd has already been created"
   when: phd_exist.rc == 0
 
-- name: "Create and setup user phd"
+- name: Create and setup user phd
   block:
-    - name: "Create user phd"
+    - name: Create user phd
       import_tasks: create.yml
-    - name: "Setup home dir"
-      import_tasks: setup-home.yml
+    - name: Upload and extract home archive
+      unarchive:
+        src: ~/archive/STORE/phd/Home/phd.tar.bz2
+        dest: /home
   when: phd_exist.rc != 0