summaryrefslogtreecommitdiff
path: root/roles
diff options
context:
space:
mode:
authorNiklas Yann Wettengel <niyawe@niyawe.de>2018-01-25 18:14:37 +0100
committerNiklas Yann Wettengel <niyawe@niyawe.de>2018-01-25 18:14:37 +0100
commitc5e189efc170d1ba8d9b7ab0e7491ae991f8d733 (patch)
tree2247c563f5d7a111806a6954d03a50e98dfaf2ea /roles
parentb8cc4bc6cf7a8d04007e8d5fe8cda6fefa2e5127 (diff)
update ssh keys
Diffstat (limited to 'roles')
-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 }}'