diff --git a/roles/bind-authoritative/tasks/main.yml b/roles/bind-authoritative/tasks/main.yml index 47d16b22..b7554dff 100644 --- a/roles/bind-authoritative/tasks/main.yml +++ b/roles/bind-authoritative/tasks/main.yml @@ -19,3 +19,9 @@ - named.conf.local - named.conf.options notify: Reload Bind9 + +- name: Indicate role in motd + template: + src: update-motd.d/05-service.j2 + dest: /etc/update-motd.d/05-bind + mode: 0755 diff --git a/roles/bind-authoritative/templates/update-motd.d/05-service.j2 b/roles/bind-authoritative/templates/update-motd.d/05-service.j2 new file mode 100755 index 00000000..14a3c3d2 --- /dev/null +++ b/roles/bind-authoritative/templates/update-motd.d/05-service.j2 @@ -0,0 +1,3 @@ +#!/usr/bin/tail +14 +{{ ansible_header | comment }} +> Bind9 (autoritaire) a été déployé sur cette machine. Voir /etc/bind/.