Remote MOTD

This commit is contained in:
Élie Deloumeau-Prigent
2021-09-29 16:57:02 +02:00
parent b95595ef6e
commit ea56ef6c69
6 changed files with 40 additions and 129 deletions

View File

@ -1,4 +1,17 @@
---
motd_disable_default_motd: true
motd_banner_template: etc/banner
motd_template: usr/local/bin/dynmotd
motd_banner_template: https://raw.githubusercontent.com/claranet/motd/master/banner
motd_template: https://raw.githubusercontent.com/claranet/motd/master/motd
motd_banner_template_prepend: ""
motd_banner_template_append: ""
motd_template_prepend: ""
motd_template_append: |
echo -e "\e[0;39mAnsible:
Last deployment\e[2m···\e[0m: {{ ansible_date_time.iso8601_micro }}
"
motd_template_username: ""
motd_template_password: ""
motd_banner_template_username: "{{ motd_template_username }}"
motd_banner_template_password: "{{ motd_template_password }}"