0ta2 / motd_role

Setup message of the day

Home Page:https://galaxy.ansible.com/0ta2/motd_role

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

GitHub issues GitHub stars GitHub Actions Ansible Role

motd_role

ログイン時に表示する /etc/motd を設定するロールです。

Requirements

特になし。

Installation

ansible galaxy コマンドでインストールする場合

$ ansible-galaxy install 0ta2.motd_role

Example Playbook

    - hosts: servers
      roles:
         - { role: 0ta2.motd_role }

下記の様な情報が表示されるようになります。

   ______     __   __     ______     __     ______     __         ______
  /\  __ \   /\ "-.\ \   /\  ___\   /\ \   /\  == \   /\ \       /\  ___\
  \ \  __ \  \ \ \-.  \  \ \___  \  \ \ \  \ \  __<   \ \ \____  \ \  __\
   \ \_\ \_\  \ \_\\"\_\  \/\_____\  \ \_\  \ \_____\  \ \_____\  \ \_____\
    \/_/\/_/   \/_/ \/_/   \/_____/   \/_/   \/_____/   \/_____/   \/_____/


 FQDN:    instance
 Distro:  CentOS 7.7
 CPUs:    2
 RAM:     2.0GB

Role Variables

None.

License

GitHub

About

Setup message of the day

https://galaxy.ansible.com/0ta2/motd_role

License:MIT License


Languages

Language:HTML 95.5%Language:Shell 4.5%