]> git.phdru.name Git - ansible.git/blobdiff - playbooks/debian/roles/phd/tasks/main.yml
Feat(apt): Remove option `purge`
[ansible.git] / playbooks / debian / roles / phd / tasks / main.yml
index 1ca3a4b3c8340b70fd436ce2a836328395618a41..a8ea36ee63e6470f0268b39f44761ab65d0ee1ff 100644 (file)
       unarchive:
         src: ~/archive/STORE/phd/Home/phd.tar.bz2
         dest: /home
+
+    - name: Add alias
+      become: true
+      lineinfile:
+        path: /etc/aliases
+        regexp: "^root: phd$"
+        line: "root: phd"
   when: phd_exists.results|selectattr('stat.exists')|list|length != 2