jmri: add rblundon@laptop SSH key for xpra access

Adds jmri_ssh_authorized_keys_extra list to support multiple authorized
keys on the jmri account. Deploys rblundon's MacBook key so xpra can
connect via SSH without a password.
This commit is contained in:
Hermes Agent service account
2026-08-01 21:06:07 -05:00
parent 2b95acb8cc
commit 3eb38b74bd
3 changed files with 10 additions and 0 deletions

View File

@@ -30,6 +30,13 @@
state: present
when: jmri_ssh_authorized_key | length > 0
- name: Deploy extra SSH authorized keys for jmri user
ansible.posix.authorized_key:
user: "{{ jmri_user }}"
key: "{{ item }}"
state: present
loop: "{{ jmri_ssh_authorized_keys_extra }}"
- name: Add JMRI user to dialout group (serial device access)
ansible.builtin.user:
name: "{{ jmri_user }}"