ansible/roles/ssh/tasks/motd.yml

21 lines
457 B
YAML
Raw Normal View History

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'
- name: install screenfetch
apt:
update_cache: yes
pkg:
- screenfetch
- name: add screenfetch to motd
copy:
src: etc/update-motd.d/05-screenfetch
dest: /etc/update-motd.d/05-screenfetch
mode: '0755'