Deploy SSH public key.
This commit is contained in:
parent
aa606401ea
commit
69b0723131
@ -14,3 +14,8 @@
|
||||
dest: "{{ ansible_user_dir }}/.ssh/"
|
||||
mode: 0600
|
||||
|
||||
- name: Deploy SSH public key
|
||||
copy:
|
||||
src: "{{ ansible_user_dir }}/{{ ANSIBLE_WORKDIR }}/id_rsa.pub"
|
||||
dest: "/{{ ansible_user_dir }}/.ssh/"
|
||||
mode: 0640
|
@ -90,6 +90,8 @@
|
||||
with_items:
|
||||
- name: secrets/bootstrap/id_rsa
|
||||
dir: "{{ remote_workdir }}"
|
||||
- name: secrets/bootstrap/id_rsa.pub
|
||||
dir: "{{ remote_workdir }}"
|
||||
environment:
|
||||
SECRETS_ARCHIVE_PASSPHRASE: "{{ lookup('env', 'SECRETS_ARCHIVE_PASSPHRASE') }}"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user