Indicate unifi role
This commit is contained in:
parent
7161d59157
commit
2e753db873
2 changed files with 9 additions and 0 deletions
|
@ -39,3 +39,9 @@
|
||||||
register: apt_result
|
register: apt_result
|
||||||
retries: 3
|
retries: 3
|
||||||
until: apt_result is succeeded
|
until: apt_result is succeeded
|
||||||
|
|
||||||
|
- name: Indicate role in motd
|
||||||
|
template:
|
||||||
|
src: update-motd.d/05-service.j2
|
||||||
|
dest: /etc/update-motd.d/05-unifi-controller
|
||||||
|
mode: 0755
|
||||||
|
|
3
roles/unifi-controller/templates/update-motd.d/05-service.j2
Executable file
3
roles/unifi-controller/templates/update-motd.d/05-service.j2
Executable file
|
@ -0,0 +1,3 @@
|
||||||
|
#!/bin/sh
|
||||||
|
# {{ ansible_managed }}
|
||||||
|
echo "> Le contrôleur Unifi a été déployé sur cette machine."
|
Loading…
Reference in a new issue