33 lines
866 B
YAML
33 lines
866 B
YAML
|
- name: Deploy secrets
|
||
|
hosts: jefke
|
||
|
tasks:
|
||
|
- name: Place user certificate
|
||
|
copy:
|
||
|
src: files/jefke_user_ed25519.crt
|
||
|
dest: /etc/ssh/ssh_user_ed25519_key-cert.pub
|
||
|
|
||
|
- name: Place user public key
|
||
|
copy:
|
||
|
src: files/jefke_user_ed25519.pub
|
||
|
dest: /etc/ssh/ssh_user_ed25519_key.pub
|
||
|
|
||
|
- name: Place user private key
|
||
|
copy:
|
||
|
src: files/jefke_user_ed25519
|
||
|
dest: /etc/ssh/ssh_user_ed25519_key
|
||
|
|
||
|
- name: Place host certificate
|
||
|
copy:
|
||
|
src: files/jefke_host_ed25519.crt
|
||
|
dest: /etc/ssh/ssh_host_ed25519_key-cert.pub
|
||
|
|
||
|
- name: Place host public key
|
||
|
copy:
|
||
|
src: files/jefke_host_ed25519.pub
|
||
|
dest: /etc/ssh/ssh_host_ed25519_key.pub
|
||
|
|
||
|
- name: Place host private key
|
||
|
copy:
|
||
|
src: files/jefke_host_ed25519
|
||
|
dest: /etc/ssh/ssh_host_ed25519_key
|