GithubHelp home page GithubHelp logo

ansible.motd's Introduction

adriagalin.motd

Build Status Ansible Galaxy

An ansible role for configuring Message Of The Day (motd) file. By default this role add additional information about the distro and the hardware.

Requirements

Tested on:

Ubuntu 14.04 LTS RHEL 6.7 Santiago RHEL 7.2 Maipo CentOS 7.2.1511 Core

Should work with:

All Ubuntu All Debian All RHEL All Centos

Role Variables

ag_motd_sysadmins_signature: set sysadmin team signature
ag_motd_sysadmins_email: set sysadmin support email
ag_motd_content: set content of motd
ag_motd_info: additional information to show in message

Dependencies

None.

Example Playbook

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

This playbook produces the /etc/motd file looking like this:

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

This is host1 running Debian.

NOTE: System and application configuration for this host is managed by
automated systems. To ensure that any changes you make here are not lost,
please contact with your system administrators.

 FQDN:    host1
 Distro:  Debian 7.8 wheezy
 Virtual: NO
 CPUs:    8
 RAM:     16.0GB

Yours,
Random system administrators
email: [email protected]

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

Last ansible run: 2015-08-12T23:09:07Z

License

GPLv3 License.

Author Information

Adrià Galín

Inspiration

During development, some roles in Ansible Galaxy/Github also inspired me:

thank you.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.