Try copying badge rules with a file glob.
This commit is contained in:
parent
7712fba9ca
commit
a449d473e3
1 changed files with 5 additions and 3 deletions
|
@ -25,9 +25,11 @@
|
|||
- config
|
||||
|
||||
- name: copy over all our badge definitions
|
||||
copy: src=badges/$item dest=/usr/share/badges/rules/$item
|
||||
with_items:
|
||||
- test_badge.yml
|
||||
copy: >
|
||||
src=badges/$item
|
||||
dest=/usr/share/badges/rules/$item
|
||||
with_fileglob:
|
||||
- roles/badge-backend/files/badges/*.yml
|
||||
tags:
|
||||
- config
|
||||
notify:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue