From 16ae1b1ff4640259b3c862eb99c06bc3da828f66 Mon Sep 17 00:00:00 2001
From: Baptiste DE RENZO <baptiste.derenzo@ubicast.eu>
Date: Wed, 8 Feb 2023 10:10:46 +0000
Subject: [PATCH] Add IP on login prompt, Refs #37424

---
 roles/sysconfig/tasks/main.yml | 11 +++++++++++
 1 file changed, 11 insertions(+)

diff --git a/roles/sysconfig/tasks/main.yml b/roles/sysconfig/tasks/main.yml
index 19545871..2e6475b7 100644
--- a/roles/sysconfig/tasks/main.yml
+++ b/roles/sysconfig/tasks/main.yml
@@ -111,6 +111,17 @@
     mode: "600"
   failed_when: false
 
+- name: set issue file
+  ansible.builtin.copy:
+    content: |
+      \e{lightblue} © UBICAST\e{reset}
+      
+      IP Address:
+      \e{bold}\4\e{reset}
+
+    dest: /etc/issue
+    mode: "644"
+
 # FIREWALL
 
 - name: firewall
-- 
GitLab