diff options
author | Romain Gonçalves <me@rgoncalves.se> | 2023-01-18 21:06:51 +0100 |
---|---|---|
committer | Romain Gonçalves <me@rgoncalves.se> | 2023-04-02 11:45:09 +0200 |
commit | cb6189507ab4f6c6db960105c69b69e92f7710c0 (patch) | |
tree | 3daddeb6a85585f5d387697a9c45069d72db7fd2 /roles/sshd_keys/defaults | |
parent | 5d019d2ad90c39cfae2d7edf0208c98060ddbd8e (diff) | |
download | rules-cb6189507ab4f6c6db960105c69b69e92f7710c0.tar.gz |
feat(roles/sshd_keys): add argument specs
Diffstat (limited to 'roles/sshd_keys/defaults')
-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 %} + ]" |