Add SSH configuration
This commit is contained in:
parent
90153baf93
commit
2e76b13610
3 changed files with 25 additions and 4 deletions
|
@ -3,10 +3,9 @@
|
|||
ansible.builtin.import_tasks: packages.yml
|
||||
tags: packages
|
||||
|
||||
- name: Generate an OpenSSH keypair
|
||||
community.crypto.openssh_keypair:
|
||||
path: "{{ borg_ssh_key_file_path }}"
|
||||
type: "{{ borg_ssh_key_type }}"
|
||||
- name: Create SSH key
|
||||
ansible.builtin.import_tasks: ssh.yml
|
||||
tags: ssh
|
||||
|
||||
- name: Setup borgbase backup
|
||||
ansible.builtin.import_tasks: borgbase.yml
|
||||
|
@ -33,3 +32,4 @@
|
|||
command: "borgmatic init -e {{ borg_repo_key }}"
|
||||
responses:
|
||||
^.*want to continue connecting.*$: "yes"
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue