X-Git-Url: https://git.realraum.at/?a=blobdiff_plain;f=ansible%2Froles%2Fopenwrt%2Fopenwrt-image%2Ftemplates%2Fuci.j2;fp=ansible%2Froles%2Fopenwrt%2Fopenwrt-image%2Ftemplates%2Fuci.j2;h=0000000000000000000000000000000000000000;hb=29fb96f3637ec61bbc45fc00573c6f4d522d3667;hp=3cc480b286531bc8a79c7597cc33dff466810a98;hpb=fbe2a94bb82d64b04eb2e932dd1e7da318311541;p=noc.git diff --git a/ansible/roles/openwrt/openwrt-image/templates/uci.j2 b/ansible/roles/openwrt/openwrt-image/templates/uci.j2 deleted file mode 100644 index 3cc480b..0000000 --- a/ansible/roles/openwrt/openwrt-image/templates/uci.j2 +++ /dev/null @@ -1,15 +0,0 @@ -{{ ansible_managed | comment }} - -{% for section in item.value %} -config {{ section.name }} -{% for option, value in section.options.items() %} -{% if value is iterable and value is not string %} -{% for v in value %} - list {{ option }} '{{ v }}' -{% endfor %} -{% else %} - option {{ option }} '{{ value }}' -{% endif %} -{% endfor %} - -{% endfor %}