update
This commit is contained in:
parent
1110cf573c
commit
0e46b7c6be
32 changed files with 799 additions and 0 deletions
14
ansible/scripts/configure_ssh.yml
Normal file
14
ansible/scripts/configure_ssh.yml
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
- name: Create ssh folder
|
||||
become_user: user
|
||||
ansible.builtin.file:
|
||||
path: ~/.ssh
|
||||
owner: "user"
|
||||
group: "user"
|
||||
mode: '0700'
|
||||
state: directory
|
||||
|
||||
- name: Generate an OpenSSH keypair
|
||||
become_user: user
|
||||
community.crypto.openssh_keypair:
|
||||
path: ~/.ssh/id_ed25519
|
||||
type: ed25519
|
||||
Loading…
Add table
Add a link
Reference in a new issue