user.present: | user.present: | ||||
- name: {{ name }} | - name: {{ name }} | ||||
- home: {{ home }} | - home: {{ home }} | ||||
- shell: {{ user.get('shell', '/bin/bash') }} | |||||
- shell: {{ users.get('visudo_shell', '/bin/bash') }} | |||||
{% if 'uid' in user -%} | {% if 'uid' in user -%} | ||||
- uid: {{ user['uid'] }} | - uid: {{ user['uid'] }} | ||||
{% endif -%} | {% endif -%} |