gokev.motd-splash
motd-splash
This role creates a template for two files: /etc/issue (a warning shown before login) and /etc/motd (a message shown after login).
It includes colorful ASCII logos for CentOS or Red Hat. The role checks which system you are using based on Ansible facts. If the system isn't CentOS or RHEL, a simple and plain template is provided. All template options show some basic information about the system when you log in.
Here’s how to run this role:
ansible-playbook motd-splash.yml
Example Playbook named motd-splash.yml:
--- - name: Run the MOTD splash role hosts: localhost # You can choose to show a specific logo (for example, if you're using CentOS but want a Red Hat logo!) # vars: # - motd_template_file: templates/motd_redhat roles: - GoKEV.motd-splash
With a requirements.yml that looks like this:
--- - name: GoKEV.motd-splash version: master src: https://github.com/GoKEV/motd-splash.git
License
The logo artwork is basic ASCII text and was created without permission from the copyright owners. The original logos and their usage remain the property of their copyright holders and can be taken back at their choice. There are many legal points to mention, but the gist is... these logos will make your system look cool. I hope the creators appreciate that.
Author Information
Kevin Holmes :: kev@GoKEV.com
Screen Shots of the End Results
/etc/motd for RHEL systems
/etc/motd for CentOS systems
/etc/motd for systems without a specific MOTD template
/etc/motd with the old Shadowman Red Hat logo (must be set in vars -- see the README.md for the example)
/etc/motd with the GoKEV logo in ASCII art (must be set in vars -- see the README.md for the example)
/etc/issue pre-login warning
This project was created in 2018 by Kevin Holmes.
- Update 2019-05-10: After the new Red Hat logo was introduced at Red Hat Summit 2019, the old Shadowman logo was replaced with the new RHT logo as the default.
motd-splash -- a colorful MOTD for your RHEL system
ansible-galaxy install gokev.motd-splash