mirror of
https://github.com/samsapti/bachelor-project.git
synced 2024-11-25 06:17:55 +00:00
Add one more SSH key
This commit is contained in:
parent
f08f7a3940
commit
d75dc208c8
|
@ -1,5 +1,8 @@
|
||||||
# vim: ft=yaml.ansible
|
# vim: ft=yaml.ansible
|
||||||
---
|
---
|
||||||
username: mpc-player
|
username: mpc-player
|
||||||
|
ssh_keys:
|
||||||
|
- sk-ssh-ed25519@openssh.com AAAAGnNrLXNzaC1lZDI1NTE5QG9wZW5zc2guY29tAAAAIFWZGLov8wPBNxuvnaPK+8vv6wK5hHUVEFzXKsN9QeuBAAAADHNzaDpzYW1zYXB0aQ== ssh:samsapti
|
||||||
|
- ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIPd/4fQV7CL8/KVwbo/phiV5UdXFBIDlkZ+ps8C7FeRf cardno:14 336 332
|
||||||
|
|
||||||
mp_spdz_dir: /home/{{ username }}/MP-SPDZ
|
mp_spdz_dir: /home/{{ username }}/MP-SPDZ
|
||||||
ssh_key: sk-ssh-ed25519@openssh.com AAAAGnNrLXNzaC1lZDI1NTE5QG9wZW5zc2guY29tAAAAIFWZGLov8wPBNxuvnaPK+8vv6wK5hHUVEFzXKsN9QeuBAAAADHNzaDpzYW1zYXB0aQ== ssh:samsapti
|
|
||||||
|
|
|
@ -17,8 +17,9 @@
|
||||||
- name: Add public SSH key to user {{ username }}
|
- name: Add public SSH key to user {{ username }}
|
||||||
ansible.posix.authorized_key:
|
ansible.posix.authorized_key:
|
||||||
user: "{{ username }}"
|
user: "{{ username }}"
|
||||||
key: "{{ ssh_key }}"
|
key: "{{ ssh_keys | join('\n') }}"
|
||||||
exclusive: true
|
exclusive: true
|
||||||
|
state: present
|
||||||
|
|
||||||
- name: Import role mp_spdz
|
- name: Import role mp_spdz
|
||||||
ansible.builtin.import_role:
|
ansible.builtin.import_role:
|
||||||
|
|
Loading…
Reference in a new issue