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:
option RootPasswordAuth 'off'
option Port '22000'
- # TODO: mode needs to be 0600
/etc/dropbear/authorized_keys:
+ mode: 0600
content: |-
{% for key in noc_ssh_keys %}
{{ key }}