commit 70078b2a8ee2cab31a2788c208631a67698df968
parent 5babafef05fa71dc55a9f53fb0a732da6dd7cfcb
Author: Leah (ctucx) <leah@ctu.cx>
Date: Sun, 21 Feb 2021 16:22:18 +0100
parent 5babafef05fa71dc55a9f53fb0a732da6dd7cfcb
Author: Leah (ctucx) <leah@ctu.cx>
Date: Sun, 21 Feb 2021 16:22:18 +0100
roles/common/users: ssh keys as list
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/roles/common/tasks/users.yml b/roles/common/tasks/users.yml @@ -26,7 +26,7 @@ - name: "Place ssh-key for users" copy: - content: "{{item.sshKey}}" + content: "{{item.allowedSshKeys | join('\n')}}" dest: "/home/{{item.name}}/.ssh/authorized_keys" mode: 0644 owner: "{{item.name}}"