https://github.com/maxvalue/ansible-role-motd
Configure the motd messages on a server
https://github.com/maxvalue/ansible-role-motd
Last synced: about 1 year ago
JSON representation
Configure the motd messages on a server
- Host: GitHub
- URL: https://github.com/maxvalue/ansible-role-motd
- Owner: MaxValue
- License: mit
- Created: 2025-03-31T13:09:32.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2025-03-31T13:26:42.000Z (about 1 year ago)
- Last Synced: 2025-04-08T18:47:06.888Z (about 1 year ago)
- Language: Shell
- Size: 3.91 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# Ansible Role: motd
An Ansible Role that configures motd on Ubuntu (for now).
[TOC]
## Role Variables
Available variables are listed below, along with default values (see `defaults/main.yml`):
### Main Variables
motd_snippets_custom:
- 05-custom-uptime-users.sh
- 07-custom-info.sh
- 10-custom-help-text.sh
The optional variable `motd_snippets_custom` defines a list of templates for motd scripts which will be copied to the remote host.
motd_snippets_enabled:
- 05-custom-uptime-users.sh
- 07-custom-info.sh
- 10-custom-help-text.sh
The optional variable `motd_snippets_enabled` defines a list of motd scripts which will be enabled explicitely on the remote host.
motd_snippets_disabled:
- 50-motd-news.sh
- 91-contract-ua-esm-status.sh
The optional variable `motd_snippets_disabled` defines a list of motd scripts which will be disabled explicitely on the remote host.
motd_infotext: ""
The optional variable `motd_infotext` defines a custom infotext which will be displayed inside the motd on the remote host.
## Dependencies
No dependencies needed.
## Example Playbooks
### Normal usage
---
# This runs the role
- hosts: localhost
roles:
- role:
name: maxvalue.motd
...
## License
[MIT](LICENSE.txt)
## Sponsors
You can support the development of this role and other similar roles by donating to one of the accounts below.
* [bymeacoffee](https://www.buymeacoffee.com/publicbetamax)
* [liberapay](https://de.liberapay.com/maxvalue/)
* [ko-fi](https://ko-fi.com/publicbetamax)
* [Patreon](patreon.com/publicbetamax)
## Author Information
This role was created in 2025 by Max Fuxjäger:
* Mastodon: [@maxvalue@chaos.social](https://chaos.social/@maxvalue)
* Matrix: @ypsilon:matrix.org