roles/common: Disable Canonical spam in MOTD
This commit is contained in:
parent
f4da35acee
commit
5282154d7d
@ -87,6 +87,13 @@
|
|||||||
- /etc/update-motd.d/80-livepatch # Ubuntu 18.04+
|
- /etc/update-motd.d/80-livepatch # Ubuntu 18.04+
|
||||||
ignore_errors: yes
|
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
|
- name: Configure cron-apt
|
||||||
import_tasks: cron-apt.yml
|
import_tasks: cron-apt.yml
|
||||||
tags: cron-apt
|
tags: cron-apt
|
||||||
|
Loading…
Reference in New Issue
Block a user