diff --git a/roles/ftpsync/tasks/main.yml b/roles/ftpsync/tasks/main.yml index e5b45d77..d5ff244a 100644 --- a/roles/ftpsync/tasks/main.yml +++ b/roles/ftpsync/tasks/main.yml @@ -26,3 +26,9 @@ template: src: ftpsync-cron.j2 dest: /etc/cron.d/ftpsync + +- name: Indicate role in motd + template: + src: update-motd.d/05-service.j2 + dest: /etc/update-motd.d/05-ftpsync + mode: 0755 diff --git a/roles/ftpsync/templates/update-motd.d/05-service.j2 b/roles/ftpsync/templates/update-motd.d/05-service.j2 new file mode 100755 index 00000000..7b05fcd2 --- /dev/null +++ b/roles/ftpsync/templates/update-motd.d/05-service.j2 @@ -0,0 +1,3 @@ +#!/usr/bin/tail +3 +# {{ ansible_managed }} +> ftpsync a été déployé sur cette machine. Voir /etc/ftpsync/.