Add defaults
This commit is contained in:
parent
ec6918d583
commit
ae925a9400
@ -3,8 +3,8 @@
|
||||
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 %}'
|
||||
password_lock: '{% if item.lock|default(false) %}yes{% else %}no{% endif %}'
|
||||
system: '{% if item.system|default(false) %}yes{% else %}no{% endif %}'
|
||||
comment: '{{ item.comm|default("No comment") }}'
|
||||
tags:
|
||||
- users
|
||||
|
Reference in New Issue
Block a user