projects
/
noc.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
doc/Network: Clarify RFC1918 subnets
[noc.git]
/
ansible
/
roles
/
openwrt-image
/
group.j2
diff --git
a/ansible/roles/openwrt-image/group.j2
b/ansible/roles/openwrt-image/group.j2
index
850e5da
..
cb433b8
100644
(file)
--- a/
ansible/roles/openwrt-image/group.j2
+++ b/
ansible/roles/openwrt-image/group.j2
@@
-13,7
+13,9
@@
network:x:101:
{{ name }}:x:{{ opt.id | default(loop.index + 110) }}:
{% endif %}
{% endfor %}
{{ name }}:x:{{ opt.id | default(loop.index + 110) }}:
{% endif %}
{% endfor %}
+{% if openwrt_groups is defined %}
{% for name, opt in openwrt_groups.items() %}
{{ name }}:x:{{ opt.id | default(loop.index + 200) }}:
{% endfor %}
{% for name, opt in openwrt_groups.items() %}
{{ name }}:x:{{ opt.id | default(loop.index + 200) }}:
{% endfor %}
+{% endif %}
nogroup:x:65534:
nogroup:x:65534: