roles/common: Disable Canonical spam in MOTD

This commit is contained in:
Alan Orth 2020-06-25 21:12:00 +03:00
parent f4da35acee
commit 5282154d7d
Signed by: alanorth
GPG Key ID: 0FB860CC9C45B1B9

View File

@ -87,6 +87,13 @@
- /etc/update-motd.d/80-livepatch # Ubuntu 18.04+
ignore_errors: yes
- name: Disable annoying Canonical spam in MOTD
systemd: name={{ item }} state=stopped enabled=no
when: ansible_service_mgr == 'systemd'
loop:
- motd-news.service
- motd-news.timer
- name: Configure cron-apt
import_tasks: cron-apt.yml
tags: cron-apt