32 lines
729 B
YAML
32 lines
729 B
YAML
---
|
|
# tasks file for roles/motd
|
|
- name: MOTD - set motd
|
|
template:
|
|
src: templates/etc/motd.j2
|
|
dest: /etc/motd
|
|
mode: 0644
|
|
|
|
- name: MOTD - set motd banner
|
|
template:
|
|
src: templates/etc/update-motd.d/20-banner.j2
|
|
dest: /etc/update-motd.d/20-banner
|
|
mode: 0755
|
|
|
|
- name: MOTD - set system info
|
|
template:
|
|
src: templates/etc/update-motd.d/30-sysinfo.j2
|
|
dest: /etc/update-motd.d/30-sysinfo
|
|
mode: 0755
|
|
|
|
- name: MOTD - set free disk space
|
|
template:
|
|
src: templates/etc/update-motd.d/40-disks.j2
|
|
dest: /etc/update-motd.d/40-disks
|
|
mode: 0755
|
|
|
|
- name: MOTD - Reboot Warning
|
|
template:
|
|
src: templates/etc/update-motd.d/80-reboot.j2
|
|
dest: /etc/update-motd.d/80-reboot
|
|
mode: 0755
|