From c5e189efc170d1ba8d9b7ab0e7491ae991f8d733 Mon Sep 17 00:00:00 2001 From: Niklas Yann Wettengel Date: Thu, 25 Jan 2018 18:14:37 +0100 Subject: update ssh keys --- roles/update_ssh_keys/tasks/main.yml | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 roles/update_ssh_keys/tasks/main.yml (limited to 'roles/update_ssh_keys') diff --git a/roles/update_ssh_keys/tasks/main.yml b/roles/update_ssh_keys/tasks/main.yml new file mode 100644 index 0000000..206e442 --- /dev/null +++ b/roles/update_ssh_keys/tasks/main.yml @@ -0,0 +1,7 @@ +--- +- name: update authorized_keys + authorized_key: + key: '{{ item }}' + path: /root/.ssh/authorized_keys + user: root + with_items: '{{ authorized_keys }}' -- cgit v1.2.3-54-g00ecf