Use correct pillar to set users homephone

This commit is contained in:
Karsten Kosmala 2017-12-03 14:46:52 +01:00
parent a4c1e98a55
commit fdc5ceae2c

View File

@ -116,7 +116,7 @@ users_{{ name }}_user:
- workphone: {{ user['workphone'] }} - workphone: {{ user['workphone'] }}
{% endif %} {% endif %}
{% if 'homephone' in user %} {% if 'homephone' in user %}
- homephone: {{ user['workphone'] }} - homephone: {{ user['homephone'] }}
{% endif %} {% endif %}
{% if not user.get('createhome', True) %} {% if not user.get('createhome', True) %}
- createhome: False - createhome: False