Commit 618e7323 authored by Tobias Stein's avatar Tobias Stein
Browse files

Add task to configure PubKey-Auth for user

parent ba309011
......@@ -167,4 +167,16 @@
- zsh
- zshrc
- name: "ssh - set authorized_keys"
become: true
ansible.posix.authorized_key:
user: "{{ item }}"
key: "{{ lookup('file', 'files/ssh-pubkeys/' + item + '.pub') }}"
loop:
- tobias
tags:
- ssh
- authorized_keys
# vim: et:noai:ts=2:sw=2
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment