From 6612a0d62f73b036f1830bd36e170feb1777dd1a Mon Sep 17 00:00:00 2001 From: pgrondek Date: Mon, 13 Apr 2020 17:45:44 +0200 Subject: [PATCH] add ssh authorized_keys configuration --- server/authorized_keys | 1 + server/ssh.yml | 9 +++++++++ 2 files changed, 10 insertions(+) create mode 100644 server/authorized_keys create mode 100644 server/ssh.yml diff --git a/server/authorized_keys b/server/authorized_keys new file mode 100644 index 0000000..f18e234 --- /dev/null +++ b/server/authorized_keys @@ -0,0 +1 @@ +ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDwTqV2idle6AQj179tAuAxZzodtTb2aMJKIEnL+tXfdsKsoc8kfQV3JMtq53hk6jRcH/9+FamCBqP/2s1xT4elKAZ7GWYBMi4HqGr8Qr7I1sK2m9dydrmW+iepmhGNDdKlYkEFc8aM9blbCTEN9RqqJiSomzDAIZQWiV2E/18MIxu3WYKJ561uzILkmB9o7UJbdAgOGbk6+GkBIwGCX5CwlX4Ro8wLv/i55/bg03N1lAbsCeDqaZX7ikiy2hnxAFH/EuY2g2WK4x9yUjhUe1MnCZy5SealSP76b9BHyJVYrxGVyAZOtlnewEXzbJXnyHGQg00hXeT8YtTlMSXaQVih pgrondek@farnsworth diff --git a/server/ssh.yml b/server/ssh.yml new file mode 100644 index 0000000..21570d3 --- /dev/null +++ b/server/ssh.yml @@ -0,0 +1,9 @@ +--- +- name: copy ssh keys + hosts: server + + tasks: + - name: copy authorized_keys + copy: + src: authorized_keys + dest: ${HOME}/.ssh/authorized_keys