evolinux-base: fix motd lookup path

This commit is contained in:
Jérémy Lecour 2021-05-19 17:02:10 +02:00 committed by Jérémy Lecour
parent 56c064d86b
commit 06b8314211
2 changed files with 5 additions and 4 deletions

View File

@ -33,6 +33,7 @@ The **patch** part changes incrementally at each release.
* add default (useless) value for file lookup (first_found)
* fix pipefail option for shell invocations
* evolinux-base: fix motd lookup path
* ldap: fix edge cases where passwords were not set/get properly
* listupgrade: fix wget error + shellcheck cleanup

View File

@ -7,11 +7,11 @@
owner: root
group: root
mode: "0644"
loop: "{{ query('first_found', templates, errors='ignore') }}"
loop: "{{ query('first_found', templates) }}"
vars:
templates:
- "motd/motd.{{ inventory_hostname }}.j2"
- "motd/motd.{{ host_group | default('all') }}.j2"
- "motd/motd.default.j2"
- "templates/motd/motd.{{ inventory_hostname }}.j2"
- "templates/motd/motd.{{ host_group | default('all') }}.j2"
- "templates/motd/motd.default.j2"
tags:
- motd