]> git.phdru.name Git - ansible.git/blobdiff - playbooks/roles/debian/phd/tasks/main.yml
Feat(debian): Change directory structure
[ansible.git] / playbooks / roles / debian / phd / tasks / main.yml
diff --git a/playbooks/roles/debian/phd/tasks/main.yml b/playbooks/roles/debian/phd/tasks/main.yml
deleted file mode 100644 (file)
index 455605f..0000000
+++ /dev/null
@@ -1,18 +0,0 @@
-- name: Test if user phd already exists
-  command: test -f ~/.profile -a -f ~/.shellrc
-  ignore_errors: true
-  register: phd_exist
-
-- debug:
-    msg: "User phd has already been created"
-  when: phd_exist.rc == 0
-
-- name: Create and setup user phd
-  block:
-    - name: Create user phd
-      import_tasks: create.yml
-    - name: Upload and extract home archive
-      unarchive:
-        src: ~/archive/STORE/phd/Home/phd.tar.bz2
-        dest: /home
-  when: phd_exist.rc != 0