ssh_known_hosts: Move under ansible-software repo
This commit is contained in:
parent
773dff1aa9
commit
8c042d5ba8
2 changed files with 0 additions and 13 deletions
|
@ -1,8 +0,0 @@
|
||||||
---
|
|
||||||
- name: Create SSH known_hosts
|
|
||||||
ansible.builtin.template:
|
|
||||||
dest: /etc/ssh/ssh_known_hosts
|
|
||||||
src: ssh_known_hosts.j2
|
|
||||||
mode: "0644"
|
|
||||||
owner: root
|
|
||||||
group: "{{ ansible_wheel }}"
|
|
|
@ -1,5 +0,0 @@
|
||||||
{% set keys = lookup('fileglob', '/srv/sshca/ca/*.pub', wantlist=True) %}
|
|
||||||
{% for key in keys %}
|
|
||||||
{% set data = lookup('ansible.builtin.file', key) | split() %}
|
|
||||||
@cert-authority *.foo.sh {{ data[0:2] | join(' ') }}
|
|
||||||
{% endfor %}
|
|
Loading…
Add table
Reference in a new issue