Fungsi awal untuk tampilan MOTD

This commit is contained in:
Ronggo Radityo
2018-09-25 19:55:16 +07:00
parent 7ea00889a0
commit 1d898c7a21
6 changed files with 151 additions and 41 deletions

View File

@@ -1,2 +1,25 @@
---
# tasks file for roles/motd
# 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