X-Git-Url: https://git.phdru.name/?a=blobdiff_plain;f=playbooks%2Froles%2Fdebian%2Fphd%2Ftasks%2Fmain.yml;fp=playbooks%2Froles%2Fdebian%2Fphd%2Ftasks%2Fmain.yml;h=0000000000000000000000000000000000000000;hb=009018ea1ff7e3eab45c523559c0271850da228b;hp=455605f45225f57ee9cd14ba4ef9505991f20cce;hpb=8106ec7b61aa0c857e35a8e8985763a19e1eec88;p=ansible.git diff --git a/playbooks/roles/debian/phd/tasks/main.yml b/playbooks/roles/debian/phd/tasks/main.yml deleted file mode 100644 index 455605f..0000000 --- a/playbooks/roles/debian/phd/tasks/main.yml +++ /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