chris1984.motd

chris1984.motd

This is an Ansible role to set up the Message Of The Day (motd) file. By default, it adds information about the operating system and hardware.

Build Status

Build Status

Requirements

Tested on:

  • RHEL 6.10 Santiago
  • RHEL 7.6 Maipo

Should work with:

  • All RHEL versions
  • All CentOS versions

Role Variables

motd_sysadmins_signature: set the team signature for system admins
motd_sysadmins_email: set the support email for system admins
motd_content: set the main content of the motd
motd_info: extra information to show in the message

Dependencies

None.

Example Playbook

    - hosts: servers
      roles:
         - { role: chris1984.motd }

This playbook will create the /etc/motd file to look like this:

--------------------------------------------------------------------------
                    This system is managed by Ansible
--------------------------------------------------------------------------

This is host1 running RHEL.

NOTE: System and application setup for this host is managed by
Ansible Tower. To avoid losing any changes you make, please contact your system administrators.

 FQDN:    host1
 Distro:  RHEL 7.6 Maipo
 Virtual: NO
 CPUs:    8
 RAM:     16.0GB

Yours,
The system administrators
email: [email protected]

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Last ansible run: 2018-11-30T23:09:07Z

License

MIT License.

Author Information

Informazioni sul progetto

Set up message of the day (motd)

Installa
ansible-galaxy install chris1984.motd
Licenza
Unknown
Download
501
Proprietario
Senior Software Developer - Red Hat Satellite, Hammer-cli-katello, Azure, fog-vsphere.