diff --git a/roles/mgrote.motd/tasks/main.yml b/roles/mgrote.motd/tasks/main.yml index 953c2019..4d524d5f 100644 --- a/roles/mgrote.motd/tasks/main.yml +++ b/roles/mgrote.motd/tasks/main.yml @@ -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: