better motd clean

This commit is contained in:
Torma Kristóf 2022-04-12 16:34:53 +02:00
parent 656a7abb4b
commit 4bfee0c063

View File

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