add a nice motd

This commit is contained in:
Jean-Marie Mineau 2020-10-12 10:59:53 +02:00
parent e940e80c8e
commit c2e78ea874
2 changed files with 41 additions and 0 deletions

View file

@ -0,0 +1,32 @@
#!/bin/sh
# {{ ansible_managed }}
cat << EOF
                                                  
                                                  
                                                  
                                          ░       
                 ▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓                
              ▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓             
           ▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓           
          ▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓         
        ▓▓▓▓▓▓▓ ░      ▓▓▓▓▓       ▓▓▓▓▓▓▓        
        ▓▓▓▓▓                       ▓▓▓▓▓▓▓       
       ▓▓▓▓▓▓  ░                    ▓▓▓▓▓▓▓▓      
      ▓▓▓▓▓▓▓                       ▓▓▓▓▓▓▓▓      
      ▓▓▓▓▓▓▓▓▓░ ▓▓▓▓▓▓▓▓▓▓▓▓▓▓ ░ ░ ▓▓▓▓▓▓▓▓▓     
      ▓▓▓▓▓▓▓▓▓▓   ░  ▓▓▓▓▓  ▓▓▓▓▓▓ ▓▓▓▓▓▓▓▓▓     
      ▓▓▓▓▓▓▓▓▓▓▓        ▒         ▓▓▓▓▓▓▓▓▓      
       ▓▓▓▓▓▓▓▓▓▓       ▓░▒▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓      
       ▓▓▓▓▓▓▓▓▓▓  ░ ▒░▓▓▓▓▓▓▓▒▒▒▒▒▓▓▓▓▓▓▓▓       
        ▓▓▓▓▓▓▓▓▓      ▓░▒▒▒▓▒░▒▒▒▒▓▓▓▓▓▓▓        
         ▓▓▓▓▓▓▓       ▓▓▓▒ ▓▓▓▓▓▓▓▓▓▓▓▓▓         
           ▓▓▓▓▓▓▓   ▓ ▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓          
             ▓▓▓▓▓▓▓▓▓  ▓▓▓▓▓▓▓▓▓▓▓▓▓▓            
                ▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓               
                     ▓▓▓▓▓▓▓▓▓            ░       
                                                  
                                                  

EOF

View file

@ -15,3 +15,12 @@
register: apt_result register: apt_result
retries: 3 retries: 3
until: apt_result is succeeded until: apt_result is succeeded
- name: Customize motd
copy:
src: "update-motd.d/{{ item }}"
dest: "/etc/update-motd.d/{{ item }}"
mode: 0755
loop:
- 01-logo