aboutsummaryrefslogtreecommitdiff
path: root/infrastructure
diff options
context:
space:
mode:
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
+