copy:
src: "{{ item.file }}"
dest: "{{ openwrt_imgbuilder_files }}/{{ item.key }}"
+ mode: "{{ item.mode | default(0644) }}"
with_dict: "{{ openwrt_mixin }}"
when: '"file" in item'
loop_control:
copy:
content: "{{ item.value }}"
dest: "{{ openwrt_imgbuilder_files }}/{{ item.key }}"
+ mode: "{{ item.mode | default(0644) }}"
with_dict: "{{ openwrt_mixin }}"
when: '"content" in item'
loop_control: