diff --git a/basics.yml b/basics.yml index f6c0e8a..8e12170 100644 --- a/basics.yml +++ b/basics.yml @@ -61,6 +61,7 @@ - sudo - golang - make + - openssh-server update_cache: yes install_recommends: no @@ -199,6 +200,14 @@ notify: - Restart sshd + - name: Create .ssh dir + ansible.builtin.file: + path: /root/.ssh + owner: root + group: docker + state: directory + mode: '0550' + - name: Generate an OpenSSH keypair ed25519 community.crypto.openssh_keypair: path: /root/.ssh/id_ed25519