2020-08-18 11:57:53 +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"
|
|
|
|
|
|
|
|
|
2021-07-16 12:52:43 +02:00
|
|
|
### getestet auf
|
2020-08-18 11:57:53 +02:00
|
|
|
- [x] Ubuntu (>=18.04)
|
|
|
|
- [ ] Debian
|
|
|
|
- [ ] ProxMox 6.1 <-- funktioniert nicht
|
|
|
|
|
|
|
|
### Variablen + Defaults
|
|
|
|
##### Ort fuer Wetterangabe
|
2021-03-10 14:50:54 +01:00
|
|
|
`motd_wetter_ort: "Magdeburg"`
|
2020-08-18 11:57:53 +02:00
|
|
|
##### Wetter anzeigen?
|
2021-03-10 14:50:54 +01:00
|
|
|
`motd_wetter_aktiv: false`
|
2020-08-18 11:57:53 +02:00
|
|
|
##### "fortune" anzeigen
|
2021-03-10 14:50:54 +01:00
|
|
|
`motd_fortune_aktiv: true`
|