From 1bf87a0f783e7b0ced08e4e62176047984e6bbd1 Mon Sep 17 00:00:00 2001 From: Radar231 Date: Mon, 3 Jan 2022 08:08:54 -0500 Subject: [PATCH] moved pfetch launch to script for /etc/profile.d --- tasks/main.yml | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) 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: