Initial commit
This commit is contained in:
commit
ec6918d583
|
@ -0,0 +1,10 @@
|
|||
- name: Create users
|
||||
loop: "{{ users }}"
|
||||
user:
|
||||
name: '{{ item.name }}'
|
||||
shell: '{{ item.shell|default("/bin/bash") }}'
|
||||
password_lock: '{% if item.lock %}yes{% else %}no{% endif %}'
|
||||
system: '{% if item.system %}yes{% else %}no{% endif %}'
|
||||
comment: '{{ item.comm|default("No comment") }}'
|
||||
tags:
|
||||
- users
|
Reference in New Issue