summaryrefslogtreecommitdiff
path: root/tasks
diff options
context:
space:
mode:
authorNikolaos Boutalas <nikolaos@boutalas.me>2023-08-07 11:49:48 +0300
committerNikolaos Boutalas <nikolaos@boutalas.me>2023-08-07 11:54:27 +0300
commit072d1391328d09dc2163c86797148f4c8ec55364 (patch)
tree6578e8b6a5de0e894a2775b6fe6715b175c08666 /tasks
parentf270a5b31cd8289aeaf41720b601c2fbdf71a6da (diff)
Add ssh task
Diffstat (limited to 'tasks')
-rw-r--r--tasks/ssh.yml9
1 files changed, 9 insertions, 0 deletions
diff --git a/tasks/ssh.yml b/tasks/ssh.yml
new file mode 100644
index 0000000..5cb8a02
--- /dev/null
+++ b/tasks/ssh.yml
@@ -0,0 +1,9 @@
+- name: Copy SSH keys
+ copy:
+ src: ./ssh/
+ dest: ~/.ssh
+ owner: "{{ ansible_user_id }}"
+ group: "{{ ansible_user_id }}"
+ mode: '0600'
+ tags:
+ - ssh