roles/openwrt-image: Natively support UCI configuration
[noc.git] / ansible / roles / openwrt-image / uci.j2
1 {{ ansible_managed | comment }}
2
3 {% for section in item.value %}
4 config {{ section.name }}
5 {% for option, value in section.options.items() %}
6   option {{ option }} '{{ value }}'
7 {% endfor %}
8
9 {% endfor %}