rpalstra.loginmsg.loginmsg (1.0.2) — module

Manages /etc/motd or /etc/issue

| "added in version" 2.4 of rpalstra.loginmsg"

Authors: Riemer Palstra (@rpalstra)

preview | supported by community

Install collection

Install with ansible-galaxy collection install rpalstra.loginmsg:==1.0.2


Add to requirements.yml

  collections:
    - name: rpalstra.loginmsg
      version: 1.0.2

Description

This module manages /etc/motd or /etc/issue

Usage examples

  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
# Pass in a message
- name: Test with a message
  loginmsg:
    text: "hello world"
    when: before
    state: present
    fqdn: false

Inputs

    
new:
    description:
    - Control to demo if the result of this module is changed or not
    required: false

name:
    description:
    - Test
    required: true