homeserver/friedhof/mgrote_motd
Michael Grote 7a24089031 fix linter errors (#584)
Reviewed-on: #584
Co-authored-by: Michael Grote <michael.grote@posteo.de>
Co-committed-by: Michael Grote <michael.grote@posteo.de>
2023-10-25 22:26:17 +02:00
..
defaults fix linter errors (#584) 2023-10-25 22:26:17 +02:00
handlers fix linter errors (#584) 2023-10-25 22:26:17 +02:00
tasks fix linter errors (#584) 2023-10-25 22:26:17 +02:00
templates fix linter errors (#584) 2023-10-25 22:26:17 +02:00
README.md fix linter errors (#584) 2023-10-25 22:26:17 +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