homeserver/roles/mgrote.motd
mg d7dd0ef313 Defaults + Syntax (#65)
zed defaults

zed syntax

scrub syntax

sanoid mit ts

health syntax

arc syntax

tmux syntax

smart syntax

restic handler

restic syntax

postfix syntax

chrony syntax

muster script mit ts

muster syntax

motd meta

motd syntax

smb syntax

f2b syntax

moreutils als standardsoftware

rasdaemon + cv4pve. date durch ts ersetzt

dokuwiki defaults

dokuwiki syntax

cv4 handler entfernt

apt manage sources: / in var

apt install packages syntax

apcupsd syntax

acng defaults

acng syntax

Co-authored-by: Michael Grote <michael.grote@posteo.de>
Reviewed-on: mg/ansible#65
Co-Authored-By: mg <mg@noreply.git.mgrote.net>
Co-Committed-By: mg <mg@noreply.git.mgrote.net>
2021-04-09 23:29:03 +02:00
..
defaults Defaults + Syntax (#65) 2021-04-09 23:29:03 +02:00
handlers Defaults + Syntax (#65) 2021-04-09 23:29:03 +02:00
tasks Defaults + Syntax (#65) 2021-04-09 23:29:03 +02:00
templates first commit 2020-08-18 11:57:53 +02:00
README.md Verbesserungen aus dem ansible-workshop2 (#24) 2021-03-10 14:50:54 +01: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"

Funktioniert 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