aboutsummaryrefslogtreecommitdiff
path: root/infrastructure
diff options
context:
space:
mode:
authoralex <alex@pdp7.net>2025-10-11 10:46:26 +0200
committeralex <alex@pdp7.net>2025-10-11 10:46:26 +0200
commit935f18e5ecdbc7d95f9ce46d88194dd0ae50e2cb (patch)
treecb4ce622f8ae0b8aa53eacd58e6d35e99c9c2a6a /infrastructure
parentc0c12ca7fa138c8b1bf8d072bc9397f60f5ef79e (diff)
Set motd
Diffstat (limited to 'infrastructure')
-rw-r--r--infrastructure/roles/motd/tasks/main.yaml5
-rw-r--r--infrastructure/site.yaml2
2 files changed, 7 insertions, 0 deletions
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
+