better motd clean

This commit is contained in:
Torma Kristóf 2022-04-12 16:34:53 +02:00
parent 656a7abb4b
commit 4bfee0c063
1 changed files with 5 additions and 10 deletions

View File

@ -1,13 +1,8 @@
--- ---
- name: clean motd - name: clean motd
file: file:
state: file state: touch
path: /etc/update-motd.d/{{ item }} owner: tormakris
owner: root group: tormakris
group: root mode: "0644"
mode: "0000" path: /home/tormakris/.hushlogin
with_items:
- 10-help-text
- 50-landscape-sysinfo
- 50-motd-news
- 91-release-upgrade