1 2 3 4 5 6 7 8 9 10 11 12 13
--- sshd_keys_users: null sshd_keys_dir: files/keys sshd_keys_paths: "[ {% if sshd_keys_users is none %} '{{ sshd_keys_dir }}', {% else %} {% for user in sshd_keys_users %} '{{ sshd_keys_dir }}/{{ user }}', {% endfor %} {% endif %} ]"