Change screenfetch to neofetch

This commit is contained in:
pgrondek 2020-06-03 19:54:15 +02:00
parent 0cdd675a8c
commit 4ce7116d40
3 changed files with 19 additions and 7 deletions

View File

@ -0,0 +1,3 @@
#!/usr/bin/env sh
neofetch

View File

@ -1,3 +0,0 @@
#!/usr/bin/env bash
screenfetch

View File

@ -7,14 +7,26 @@
path: /etc/update-motd.d/10-help-text path: /etc/update-motd.d/10-help-text
mode: '0644' mode: '0644'
- name: install screenfetch - name: install neofetch
apt: apt:
update_cache: yes update_cache: yes
pkg: pkg:
- screenfetch - neofetch
- name: add screenfetch to motd - name: add screenfetch to motd
copy: copy:
src: etc/update-motd.d/05-screenfetch src: etc/update-motd.d/05-neofetch
dest: /etc/update-motd.d/05-screenfetch dest: /etc/update-motd.d/05-neofetch
mode: '0755' mode: '0755'
- name: uninstall screenfetch
apt:
update_cache: yes
state: absent
pkg:
- screenfetch
- name: remove screenfetch from motd
file:
path: /etc/update-motd.d/05-screenfetch
state: absent