homeserver/roles/mgrote.motd
mg 4e71b78109 Bugfix: motd: force update (#330)
Co-authored-by: Michael Grote <michael.grote@posteo.de>
Reviewed-on: mg/ansible#330
Co-authored-by: mg <michael.grote@posteo.de>
Co-committed-by: mg <michael.grote@posteo.de>
2022-02-18 20:36:10 +01:00
..
defaults Defaults + Syntax (#65) 2021-04-09 23:29:03 +02:00
handlers Bugfix: motd: force update (#330) 2022-02-18 20:36:10 +01:00
tasks Bugfix: motd: force update (#330) 2022-02-18 20:36:10 +01:00
templates header eingebaut (#149) 2021-07-10 12:51:41 +02:00
LICENSE Alle Rollen: LICENSE + Syntax in README (#240) 2021-11-07 12:37:48 +01:00
README.md funktioniert auf --> getestet auf (#158) 2021-07-16 12:52:43 +02:00

mgrote.motd

Beschreibung

Konfiguriert die "Message of the Day"(MOTD)

Beispiel:


--------------------------------------------------------------------------------
                       This system is managed by Ansible
--------------------------------------------------------------------------------
Q:      Why haven't you graduated yet?
A:      Well, Dad, I could have finished years ago, but I wanted
        my dissertation to rhyme.
--------------------------------------------------------------------------------
FQDN:                 test.grote.lan
Distro:               Ubuntu 18.04 bionic
Virtual:              YES
Virtualization Type:  lxc
Uptime:               up 1 day, 2 hours, 56 minutes

Es gibt folgende Konfigurationsmoeglichkeiten:

  • mit/ohne Wetter
  • mit/ohne "fortune"

getestet auf

  • Ubuntu (>=18.04)
  • Debian
  • ProxMox 6.1 <-- funktioniert nicht

Variablen + Defaults

Ort fuer Wetterangabe

motd_wetter_ort: "Magdeburg"

Wetter anzeigen?

motd_wetter_aktiv: false

"fortune" anzeigen

motd_fortune_aktiv: true