arillso.system.motd role – Manage MOTD configuration

Note

This role is part of the arillso.system collection (version 0.0.34).

It is not included in ansible-core. To check whether it is installed, run ansible-galaxy collection list.

To install it use: ansible-galaxy collection install arillso.system.

To use it in a playbook, specify: arillso.system.motd.

Entry point main – Manage MOTD configuration

Synopsis

  • Manage the Message of the Day (MOTD) configuration including creation, modification, and deletion of MOTD content.

Parameters

Parameter

Comments

motd_customer

string

Customer variable

Default: "undefined"

motd_date_time

dictionary

Date and time information

tz

string

Timezone of the motd_date_time

Default: "{{ ansible_date_time.tz }}"

tz_offset

string

Timezone offset of the motd_date_time

Default: "{{ ansible_date_time.tz_offset }}"

motd_distribution

string

Operating System Distribution Name

Default: "{{ ansible_distribution }}"

motd_distribution_release

string

Release name of the distribution

Default: "{{ ansible_distribution_release }}"

motd_distribution_version

string

Operating System Distribution Version

Default: "{{ ansible_distribution_version }}"

motd_exclude_disk_space

list / elements=string

List of filesystem types to exclude in disk space check

Default: ["tmpfs", "devtmpfs", "overlay"]

motd_fqdn

string

Fully Qualified Domain Name of the host

Default: "{{ ansible_fqdn }}"

motd_header

string

The header text for the Message of the Day (MOTD) script

Default: "-\n  _              _ _     _\n  / \\   _ __  ___(_) |__ | | ___\n  / _ \\ | '_ \\/ __| | '_ \\| |/ _ \\\n/ ___ \\| | | \\__ \\ | |_) | |  __/\n/_/   \\_\\_| |_|___/_|_.__/|_|\\___|\n"

motd_project

string

Single project variable

Default: "undefined"

motd_projects

list / elements=string

Projects variable

Default: ["undefined"]

motd_region

string

Region variable

Default: "undefined"

motd_virtualization_role

string

Role in virtualization (guest/host/none)

Default: "{{ ansible_virtualization_role }}"

motd_virtualization_type

string

Type of virtualization (KVM, VirtualBox, etc.)

Default: "{{ ansible_virtualization_type }}"

motd_zone

string

Zone variable

Default: "undefined"