update motd

This commit is contained in:
Ruben Blanco 2023-10-20 09:21:12 +02:00
parent 4a1c0dfa6a
commit 9150218e66
1 changed files with 11 additions and 10 deletions

View File

@ -264,14 +264,15 @@
#++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
# Add message to MOTD
- name: add motd message
lineinfile:
path: "{{ path_motd }}"
line: "{{item.line}}"
state: present
with_items:
- line: " _ _ "
- line: "__ _____ _ __ __| |_ __ __ _| |_ _ _ _ __ __ _ "
- line: "\ \ / / _ \ '__/ _` | '_ \ / _` | __| | | | '__/ _` |"
- line: " \ V / __/ | | (_| | | | | (_| | |_| |_| | | | (_| |"
- line: " \_/ \___|_| \__,_|_| |_|\__,_|\__|\__,_|_| \__,_|"
shell: echo -e "verdnatura" | figlet >> /etc/motd
# lineinfile:
# path: "{{ path_motd }}"
# line: "{{item.line}}"
# state: present
# with_items:
# - line: " _ _ "
# - line: "__ _____ _ __ __| |_ __ __ _| |_ _ _ _ __ __ _ "
# - line: "\ \ / / _ \ '__/ _` | '_ \ / _` | __| | | | '__/ _` |"
# - line: " \ V / __/ | | (_| | | | | (_| | |_| |_| | | | (_| |"
# - line: " \_/ \___|_| \__,_|_| |_|\__,_|\__|\__,_|_| \__,_|"
#++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++