diff --git a/deco.yml b/deco.yml new file mode 100644 index 00000000..1ad9f399 --- /dev/null +++ b/deco.yml @@ -0,0 +1,4 @@ +--- +- hosts: server + roles: + - christmas-tree diff --git a/roles/christmas-tree/tasks/main.yml b/roles/christmas-tree/tasks/main.yml new file mode 100644 index 00000000..e6b9d9d4 --- /dev/null +++ b/roles/christmas-tree/tasks/main.yml @@ -0,0 +1,6 @@ +--- +- name: Happy christmas + template: + src: update-motd.d/99-christmas.j2 + dest: /etc/update-motd.d/99-christmas + mode: 0755 diff --git a/roles/christmas-tree/templates/update-motd.d/99-christmas.j2 b/roles/christmas-tree/templates/update-motd.d/99-christmas.j2 new file mode 100755 index 00000000..5c7f4a4d --- /dev/null +++ b/roles/christmas-tree/templates/update-motd.d/99-christmas.j2 @@ -0,0 +1,12 @@ +#!/usr/bin/tail +3 +# {{ ansible_managed }} + + * + /.\ + /..'\ + /'.'\ + /.''.'\ + /.'.'.\ (a skip y a du gateau !) + /'.''.'.\ + ^^^[_]^^^ +