diff --git a/tasks/main.yml b/tasks/main.yml index 072a8e7..0182d10 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -4,12 +4,13 @@ ########################################################### # tasks file for pfetch -- name: Add PF_INFO variable to our .bashrc - blockinfile: - path: "{{ homedir }}/.bashrc" - block: | - export PF_INFO="ascii title os host kernel uptime pkgs memory wm de shell editor" - /usr/local/bin/pfetch +- name: Copy pfetch launch script to /etc/profile.d + copy: + src: files/pfetch.sh + dest: /etc/profile.d/pfetch.sh + mode: "0755" + owner: root + group: root - name: Copy pfetch script https://github.com/dylanaraps/pfetch get_url: