moved pfetch launch to script for /etc/profile.d
This commit is contained in:
parent
baef18518b
commit
1bf87a0f78
|
@ -4,12 +4,13 @@
|
||||||
###########################################################
|
###########################################################
|
||||||
# tasks file for pfetch
|
# tasks file for pfetch
|
||||||
|
|
||||||
- name: Add PF_INFO variable to our .bashrc
|
- name: Copy pfetch launch script to /etc/profile.d
|
||||||
blockinfile:
|
copy:
|
||||||
path: "{{ homedir }}/.bashrc"
|
src: files/pfetch.sh
|
||||||
block: |
|
dest: /etc/profile.d/pfetch.sh
|
||||||
export PF_INFO="ascii title os host kernel uptime pkgs memory wm de shell editor"
|
mode: "0755"
|
||||||
/usr/local/bin/pfetch
|
owner: root
|
||||||
|
group: root
|
||||||
|
|
||||||
- name: Copy pfetch script https://github.com/dylanaraps/pfetch
|
- name: Copy pfetch script https://github.com/dylanaraps/pfetch
|
||||||
get_url:
|
get_url:
|
||||||
|
|
Loading…
Reference in New Issue