ssh-certs hosts.
All checks were successful
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 0s
All checks were successful
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 0s
This commit is contained in:
@@ -53,6 +53,14 @@
|
|||||||
group: root
|
group: root
|
||||||
mode: '0640' # Сертификат может быть 0640
|
mode: '0640' # Сертификат может быть 0640
|
||||||
|
|
||||||
|
- name: Add SSH Host CA to global known_hosts
|
||||||
|
known_hosts:
|
||||||
|
path: /etc/ssh/ssh_known_hosts
|
||||||
|
name: "*.guaranteedstruggle.host"
|
||||||
|
key: "@cert-authority *.guaranteedstruggle.host,192.168.0.* ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAINBFlDSADidBfwn3aDJiZM6Yg14bTjDTY6FxNsnBmT2B"
|
||||||
|
state: present
|
||||||
|
become: true
|
||||||
|
|
||||||
- name: Configure SSH HostKeys for Proxmox compatibility
|
- name: Configure SSH HostKeys for Proxmox compatibility
|
||||||
blockinfile:
|
blockinfile:
|
||||||
path: /etc/ssh/sshd_config # Или укажите путь к дроп-ину в sshd_config.d/, если используете их
|
path: /etc/ssh/sshd_config # Или укажите путь к дроп-ину в sshd_config.d/, если используете их
|
||||||
|
|||||||
Reference in New Issue
Block a user