1 2 3 4 5 6
# user@{{ ansible_domain }} user {% if local_users is defined %} {% for item in local_users %} {{ item }}@{{ ansible_domain }} {{ item }} {% endfor %} {% endif %}