Change screenfetch to neofetch
This commit is contained in:
parent
0cdd675a8c
commit
4ce7116d40
3
roles/ssh/files/etc/update-motd.d/05-neofetch
Normal file
3
roles/ssh/files/etc/update-motd.d/05-neofetch
Normal file
@ -0,0 +1,3 @@
|
||||
#!/usr/bin/env sh
|
||||
|
||||
neofetch
|
@ -1,3 +0,0 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
screenfetch
|
@ -7,14 +7,26 @@
|
||||
path: /etc/update-motd.d/10-help-text
|
||||
mode: '0644'
|
||||
|
||||
- name: install screenfetch
|
||||
- name: install neofetch
|
||||
apt:
|
||||
update_cache: yes
|
||||
pkg:
|
||||
- screenfetch
|
||||
- neofetch
|
||||
|
||||
- name: add screenfetch to motd
|
||||
copy:
|
||||
src: etc/update-motd.d/05-screenfetch
|
||||
dest: /etc/update-motd.d/05-screenfetch
|
||||
src: etc/update-motd.d/05-neofetch
|
||||
dest: /etc/update-motd.d/05-neofetch
|
||||
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
|
||||
|
Loading…
Reference in New Issue
Block a user