diff --git a/roles/common/tasks/clean-motd.yaml b/roles/common/tasks/clean-motd.yaml index 780bbe1..1d6dad2 100644 --- a/roles/common/tasks/clean-motd.yaml +++ b/roles/common/tasks/clean-motd.yaml @@ -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 \ No newline at end of file + state: touch + owner: tormakris + group: tormakris + mode: "0644" + path: /home/tormakris/.hushlogin \ No newline at end of file