ansible-playbooks/ubuntu/roles/turn-off-motd-news/tasks/main.yml
2018-09-25 20:38:53 -04:00

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