diff options
author | Christian Pointner <equinox@spreadspace.org> | 2020-12-28 17:08:53 +0100 |
---|---|---|
committer | Christian Pointner <equinox@spreadspace.org> | 2020-12-28 18:58:11 +0100 |
commit | 9aaa8b6ec6c1343710a197c5ad7b4694800cd128 (patch) | |
tree | 583e4353704d6664cc663dea5d0b1f3c0b2b2775 | |
parent | thetys: update kubernetes and streamer image (diff) |
add banner for equinox worksations
-rw-r--r-- | inventory/host_vars/ch-equinox-ws.yml | 2 | ||||
-rw-r--r-- | roles/core/zsh/templates/banner.equinox.j2 | 15 |
2 files changed, 17 insertions, 0 deletions
diff --git a/inventory/host_vars/ch-equinox-ws.yml b/inventory/host_vars/ch-equinox-ws.yml index 450434f0..37a20ef8 100644 --- a/inventory/host_vars/ch-equinox-ws.yml +++ b/inventory/host_vars/ch-equinox-ws.yml @@ -49,6 +49,8 @@ network: base_modules_blacklist: "{{ base_modules_blacklist_none }}" +zsh_banner: equinox + admin_users_host: - equinox diff --git a/roles/core/zsh/templates/banner.equinox.j2 b/roles/core/zsh/templates/banner.equinox.j2 new file mode 100644 index 00000000..b55fb17d --- /dev/null +++ b/roles/core/zsh/templates/banner.equinox.j2 @@ -0,0 +1,15 @@ +#!{{ zsh_banner_shell }} + +echo -e "" +echo -e " \033[1;37m ██ ██\033[0m" +echo -e " \033[1;37m █████ █████ ██ ██ ▄▄ █▌▐███ █████ ██ ██ \033[0m" +echo -e " \033[1;37m██ ██ ██ ██ ██ ██ ██ ███ ██ ██ ██ ██ ██ \033[0m" +echo -e " \033[1;37m██████ ██ ██ ██ ██ ██ ██ ██ ██ ██ ███ \033[0m" +echo -e " \033[1;37m██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ \033[0m" +echo -e " \033[1;37m █████ ██████ █████ ██ ██ ██ █████ ██ ██ \033[0m" +echo -e " \033[1;37m ██ ██ \033[0m" +echo -e " \033[1;37m ██ \033[0m" +echo -e "" +echo -en "\033[1m {{ host_name | upper | join(' ') }} \033[0m" +echo -e "\n" +uptime |