diff --git a/roles/horde/tasks/main.yml b/roles/horde/tasks/main.yml index 55ab2891..f08addf0 100644 --- a/roles/horde/tasks/main.yml +++ b/roles/horde/tasks/main.yml @@ -43,3 +43,9 @@ - webmail - horde notify: Restart nginx + +- name: Indicate role in motd + template: + src: update-motd.d/05-service.j2 + dest: /etc/update-motd.d/05-horde + mode: 0755 diff --git a/roles/horde/templates/update-motd.d/05-service.j2 b/roles/horde/templates/update-motd.d/05-service.j2 new file mode 100755 index 00000000..0bc19484 --- /dev/null +++ b/roles/horde/templates/update-motd.d/05-service.j2 @@ -0,0 +1,3 @@ +#!/usr/bin/tail +14 +{{ ansible_header | comment }} +> Horde a été déployé sur cette machine. Voir https://gitlab.crans.org/nounous/ansible/-/tree/master/roles/horde.