caseraw / caseraw.machinemsg / 1.0.7 / module / machinemsg Set the machine motd and banner message | "added in version" 2.9 of caseraw.machinemsg" Authors: Kasra Amirsarvari (@KasraMforce) preview | supported by communitycaseraw.machinemsg.machinemsg (1.0.7) — module
Install with ansible-galaxy collection install caseraw.machinemsg:==1.0.7
collections: - name: caseraw.machinemsg version: 1.0.7
Module that helps to set the machine motd and banner message
# make a before login message - name: Message before login machinemsg: text: "Ola, user. You are bout to ENTER" when: before fqdn: true
# remove an after login message - name: Message after login machinemsg: text: "Ola, user. You have ENTERED" when: after state: absent fqdn: False
fqdn: description: - If True, a new line with the full FQDN of the machine will be displayd text: description: - The free text message to display required: true type: str when: description: - Whether to display before or after the login required: true state: description: - Whether to be present or absent