ansible-playbooks/ubuntu/roles/turn-off-motd-news/tasks/main.yml

13 lines
257 B
YAML

---
# This role turns off the MOTD news in Ubuntu 18.04
- name: Copy motd-news file
when: ansible_distribution_release == 'bionic'
copy:
src: motd-news
dest: /etc/default/motd-news
owner: root
group: root
mode: 0644
backup: yes