2020-05-31 22:51:58 +00:00
|
|
|
---
|
|
|
|
- become: yes
|
|
|
|
block:
|
|
|
|
- name: disable help in ubuntu
|
|
|
|
when: ansible_distribution == "Ubuntu"
|
|
|
|
file:
|
|
|
|
path: /etc/update-motd.d/10-help-text
|
|
|
|
mode: '0644'
|
|
|
|
|
2020-06-03 17:54:15 +00:00
|
|
|
- name: install neofetch
|
2020-05-31 22:51:58 +00:00
|
|
|
apt:
|
|
|
|
update_cache: yes
|
|
|
|
pkg:
|
2020-06-03 17:54:15 +00:00
|
|
|
- neofetch
|
2020-05-31 22:51:58 +00:00
|
|
|
|
|
|
|
- name: add screenfetch to motd
|
|
|
|
copy:
|
2020-06-03 17:54:15 +00:00
|
|
|
src: etc/update-motd.d/05-neofetch
|
|
|
|
dest: /etc/update-motd.d/05-neofetch
|
2020-05-31 22:51:58 +00:00
|
|
|
mode: '0755'
|
2020-06-03 17:54:15 +00:00
|
|
|
|
|
|
|
- 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
|