diff options
Diffstat (limited to 'roles/sshd_keys/defaults/main.yml')
-rw-r--r-- | roles/sshd_keys/defaults/main.yml | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/roles/sshd_keys/defaults/main.yml b/roles/sshd_keys/defaults/main.yml new file mode 100644 index 0000000..1b97a4a --- /dev/null +++ b/roles/sshd_keys/defaults/main.yml @@ -0,0 +1,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 %} + ]" |