2018-09-25 14:15:07 +07:00
|
|
|
---
|
2018-09-25 19:55:16 +07:00
|
|
|
# tasks file for roles/motd
|
2020-03-23 11:13:00 +07:00
|
|
|
- name: MOTD - set motd
|
|
|
|
template:
|
|
|
|
src: templates/etc/motd.j2
|
|
|
|
dest: /etc/motd
|
2018-09-25 19:55:16 +07:00
|
|
|
mode: 0644
|
|
|
|
|
|
|
|
- name: MOTD - set motd banner
|
2020-03-23 11:13:00 +07:00
|
|
|
template:
|
2018-09-25 19:55:16 +07:00
|
|
|
src: templates/etc/update-motd.d/20-banner.j2
|
|
|
|
dest: /etc/update-motd.d/20-banner
|
|
|
|
mode: 0755
|
|
|
|
|
|
|
|
- name: MOTD - set system info
|
2020-03-23 11:13:00 +07:00
|
|
|
template:
|
2018-09-25 19:55:16 +07:00
|
|
|
src: templates/etc/update-motd.d/30-sysinfo.j2
|
|
|
|
dest: /etc/update-motd.d/30-sysinfo
|
|
|
|
mode: 0755
|
|
|
|
|
|
|
|
- name: MOTD - set free disk space
|
2020-03-23 11:13:00 +07:00
|
|
|
template:
|
2018-09-25 19:55:16 +07:00
|
|
|
src: templates/etc/update-motd.d/40-disks.j2
|
|
|
|
dest: /etc/update-motd.d/40-disks
|
|
|
|
mode: 0755
|
2020-03-23 11:13:00 +07:00
|
|
|
|
|
|
|
- name: MOTD - Reboot Warning
|
|
|
|
template:
|
|
|
|
src: templates/etc/update-motd.d/80-reboot.j2
|
|
|
|
dest: /etc/update-motd.d/80-reboot
|
|
|
|
mode: 0755
|