diff --git a/roles/config-base-debian-os/tasks/main.yaml b/roles/config-base-debian-os/tasks/main.yaml index 9196893..75423be 100644 --- a/roles/config-base-debian-os/tasks/main.yaml +++ b/roles/config-base-debian-os/tasks/main.yaml @@ -259,4 +259,19 @@ - line: set showmatch - line: set ignorecase - line: set smartcase +#++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ + +#++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ +# 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: " \_/ \___|_| \__,_|_| |_|\__,_|\__|\__,_|_| \__,_|" #++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ \ No newline at end of file diff --git a/roles/config-base-debian-os/vars/main.yaml b/roles/config-base-debian-os/vars/main.yaml index ac08337..90cf3bd 100644 --- a/roles/config-base-debian-os/vars/main.yaml +++ b/roles/config-base-debian-os/vars/main.yaml @@ -11,4 +11,5 @@ bindpw_password: !vault | 65316535626434333331633438613639633163643765633064363833303461363834653864646464 3133313233353730620a343536316266393637623563313563613332646630643632366439343764 30383935303161646339393361393130613266663337373364626635646430326465 -path_vimrclocal: /etc/vim/vimrc.local \ No newline at end of file +path_vimrclocal: /etc/vim/vimrc.local +path_motd: /etc/motd \ No newline at end of file