motd: remove default packages (#126)

motd: remove default packages

Co-authored-by: Michael Grote <michael.grote@posteo.de>
Reviewed-on: mg/ansible#126
Co-Authored-By: mg <mg@noreply.git.mgrote.net>
Co-Committed-By: mg <mg@noreply.git.mgrote.net>
This commit is contained in:
Michael Grote 2021-06-22 14:09:51 +02:00
parent 61d8396f43
commit 7b331bc7d9

View file

@ -15,6 +15,14 @@
state: present
when: ansible_facts['os_family'] == "Ubuntu"
- name: remove default packages
become: yes
ansible.builtin.package:
name:
- motd-news-config
state: absent
when: ansible_facts['os_family'] == "Ubuntu"
- name: 'remove unwanted motd messages'
become: yes
ansible.builtin.file: