% for output in host.get('outputs', []): % if 'background' in output: ["${'any' if output['match'] == '*' else output['match']}"] path = "${output['background'][0]}" mode = "${output['background'][1].replace('fill', 'center')}" %endif % endfor