From 072d1391328d09dc2163c86797148f4c8ec55364 Mon Sep 17 00:00:00 2001 From: Nikolaos Boutalas Date: Mon, 7 Aug 2023 11:49:48 +0300 Subject: Add ssh task --- tasks/ssh.yml | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 tasks/ssh.yml (limited to 'tasks') 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 -- cgit v1.2.3