summaryrefslogtreecommitdiff
path: root/roles/update_ssh_keys/tasks/main.yml
diff options
context:
space:
mode:
Diffstat (limited to 'roles/update_ssh_keys/tasks/main.yml')
-rw-r--r--roles/update_ssh_keys/tasks/main.yml7
1 files changed, 7 insertions, 0 deletions
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 }}'