workaround for attribute bug

This commit is contained in:
AndrewPaglusch
2025-09-21 21:24:09 -05:00
committed by Andrew Paglusch
parent 243fd3be59
commit f4e7a0aa59

View File

@@ -42,12 +42,20 @@
- nebula-cert
- name: Generate SSH host key for Nebula debug console
openssh_keypair:
path: /opt/nebula/ssh_host_ed25519_key
type: ed25519
command: ssh-keygen -t ed25519 -f /opt/nebula/ssh_host_ed25519_key -N ""
args:
creates: /opt/nebula/ssh_host_ed25519_key
when: nebula_sshd_enabled
- name: Set SSH host key permissions
file:
path: "{{ item }}"
owner: root
group: root
mode: '0600'
with_items:
- /opt/nebula/ssh_host_ed25519_key
- /opt/nebula/ssh_host_ed25519_key.pub
when: nebula_sshd_enabled
- name: Read SSH key files and build registry