Ensures /etc/update-motd.d exists
This commit is contained in:
parent
1d0200a1f0
commit
2353589da6
1 changed files with 9 additions and 0 deletions
|
@ -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
|
- name: Customize motd
|
||||||
become: true
|
become: true
|
||||||
template:
|
template:
|
||||||
|
|
Loading…
Reference in a new issue