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:
parent
61d8396f43
commit
7b331bc7d9
1 changed files with 8 additions and 0 deletions
|
@ -15,6 +15,14 @@
|
||||||
state: present
|
state: present
|
||||||
when: ansible_facts['os_family'] == "Ubuntu"
|
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'
|
- name: 'remove unwanted motd messages'
|
||||||
become: yes
|
become: yes
|
||||||
ansible.builtin.file:
|
ansible.builtin.file:
|
||||||
|
|
Loading…
Reference in a new issue