aboutsummaryrefslogtreecommitdiffstats
path: root/roles/sshd_keys/defaults
diff options
context:
space:
mode:
authorRomain Gonçalves <me@rgoncalves.se>2023-01-18 21:06:51 +0100
committerRomain Gonçalves <me@rgoncalves.se>2023-04-02 11:45:09 +0200
commitcb6189507ab4f6c6db960105c69b69e92f7710c0 (patch)
tree3daddeb6a85585f5d387697a9c45069d72db7fd2 /roles/sshd_keys/defaults
parent5d019d2ad90c39cfae2d7edf0208c98060ddbd8e (diff)
downloadrules-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.yml13
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 %}
+ ]"
remember that computers suck.