fix role name for openwrt/image
[noc.git] / ansible / roles / openwrt / image / templates / passwd.j2
1 {{ ansible_managed | comment }}
2 root:x:0:0:root:/root:/bin/ash
3 daemon:*:1:1:daemon:/var:/bin/false
4 ftp:*:55:55:ftp:/home/ftp:/bin/false
5 network:*:101:101:network:/var:/bin/false
6 {% for name, opt in openwrt_users.items() %}
7 {{ name }}:*:{{ opt.id | default(loop.index + 110) }}:{{ opt.gid | default(loop.index + 110) }}:{{ name }}:{{ opt.home | default('/nonexistent') }}:{{ opt.shell | default('/bin/false') }}
8 {% endfor %}
9 nobody:*:65534:65534:nobody:/var:/bin/false