Force user uid

This commit is contained in:
Bertrand Benjamin 2018-08-22 21:51:47 +02:00
parent 672b00ec3b
commit 44ea3c4a31
2 changed files with 3 additions and 2 deletions

View File

@ -3,6 +3,7 @@
user:
name: "{{ item.username }}"
password: "{{ item.password }}"
uid: "{{ item.uid }}"
shell: /bin/zsh
with_items: "{{ users }}"

View File

@ -1,8 +1,8 @@
---
users:
- { username: 'lafrite', password: '$6$OnPrZgotbSWZlh0T$VSyF8lUhD/N881d1GsggE7jDFt0uAzls2r.pqgDV6XQKbTqZWfv0X4QWd/3wivUDyzaSjP4LQWVfne7KYR6Vv1'}
- { username: 'waha', password: '$6$tQLlZ3lI/NDcT3.C$VCBzrpNxDgOK7b2que2/BnAYWl.zKVugZrQEPxtsq3iWcskEzQ1NvytZRXkB4GCDa/xEohxiodyCaZyFnhxby1'}
- { username: 'lafrite', password: '$6$OnPrZgotbSWZlh0T$VSyF8lUhD/N881d1GsggE7jDFt0uAzls2r.pqgDV6XQKbTqZWfv0X4QWd/3wivUDyzaSjP4LQWVfne7KYR6Vv1', uid: '1000'}
- { username: 'waha', password: '$6$tQLlZ3lI/NDcT3.C$VCBzrpNxDgOK7b2que2/BnAYWl.zKVugZrQEPxtsq3iWcskEzQ1NvytZRXkB4GCDa/xEohxiodyCaZyFnhxby1', uid: '999'}
deploy_users:
- waha