This repository has been archived on 2023-12-26. You can view files and clone it, but cannot push or open issues or pull requests.
ansible-role-ssh-ca-known-h.../tasks/main.yml

7 lines
225 B
YAML
Raw Normal View History

2023-04-26 17:26:11 +00:00
- name: Add SSH CA to known hosts
known_hosts:
key: '@cert-authority {{ item.domain }} {{ item.key }}'
name: '@cert-authority {{ item.domain }}'
path: /etc/ssh/ssh_known_hosts
loop: '{{ ssh_ca_known_hosts }}'