Ensures /etc/update-motd.d exists

This commit is contained in:
jeltz 2021-03-06 04:42:21 +01:00
parent 1d0200a1f0
commit 2353589da6
1 changed files with 9 additions and 0 deletions

View File

@ -1,4 +1,13 @@
---
- name: Ensure update-motd.d exists
become: true
file:
path: /etc/update-motd.d
state: directory
mode: u=rwx,g=rx,o=rx
owner: root
group: root
- name: Customize motd
become: true
template: