From 935f18e5ecdbc7d95f9ce46d88194dd0ae50e2cb Mon Sep 17 00:00:00 2001 From: alex Date: Sat, 11 Oct 2025 10:46:26 +0200 Subject: [PATCH] Set motd --- infrastructure/roles/motd/tasks/main.yaml | 5 +++++ infrastructure/site.yaml | 2 ++ 2 files changed, 7 insertions(+) create mode 100644 infrastructure/roles/motd/tasks/main.yaml diff --git a/infrastructure/roles/motd/tasks/main.yaml b/infrastructure/roles/motd/tasks/main.yaml new file mode 100644 index 0000000..1fb0a81 --- /dev/null +++ b/infrastructure/roles/motd/tasks/main.yaml @@ -0,0 +1,5 @@ +- name: set motd + ansible.builtin.copy: + content: | + Bienvenido a ñix.es + dest: /etc/motd diff --git a/infrastructure/site.yaml b/infrastructure/site.yaml index 5505001..9febc36 100644 --- a/infrastructure/site.yaml +++ b/infrastructure/site.yaml @@ -2,3 +2,5 @@ - hosts: all roles: - users + - motd + -- 2.47.3