ssh-certs hosts.
All checks were successful
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 0s

This commit is contained in:
hogweed1
2026-05-21 02:26:42 +10:00
parent c1c221cda8
commit 2d39618a6f

View File

@@ -13,7 +13,15 @@
file: file:
path: "/tmp/ssh_host_certs/{{ inventory_hostname }}" path: "/tmp/ssh_host_certs/{{ inventory_hostname }}"
state: directory state: directory
mode: '0700' mode: '0755'
- name: Локальная генерация временной пары ключей на Ansible-машине
delegate_to: localhost
become: no
openssh_keypair:
path: "/tmp/ssh_host_certs/{{ inventory_hostname }}/ssh_host_ed25519_key"
type: ed25519
state: present
- name: Удаленный выпуск Хост-сертификата силами step-ca - name: Удаленный выпуск Хост-сертификата силами step-ca
delegate_to: localhost delegate_to: localhost