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 - nebula-cert
- name: Generate SSH host key for Nebula debug console - name: Generate SSH host key for Nebula debug console
openssh_keypair: command: ssh-keygen -t ed25519 -f /opt/nebula/ssh_host_ed25519_key -N ""
path: /opt/nebula/ssh_host_ed25519_key args:
type: ed25519 creates: /opt/nebula/ssh_host_ed25519_key
when: nebula_sshd_enabled
- name: Set SSH host key permissions
file:
path: "{{ item }}"
owner: root owner: root
group: root group: root
mode: '0600' mode: '0600'
with_items:
- /opt/nebula/ssh_host_ed25519_key
- /opt/nebula/ssh_host_ed25519_key.pub
when: nebula_sshd_enabled when: nebula_sshd_enabled
- name: Read SSH key files and build registry - name: Read SSH key files and build registry