You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
9 lines
356 B
9 lines
356 B
7 years ago
|
---
|
||
|
- hosts: all
|
||
|
tasks:
|
||
|
- name: get fingerprints
|
||
|
fetch: src={{ item.src }} dest={{ item.dest }} flat=yes
|
||
|
with_items:
|
||
|
- { src: '/etc/ssh/ssh_host_rsa_key.pub', dest: 'fingerprints/{{ ansible_hostname }}_rsa.pub' }
|
||
|
- { src: '/etc/ssh/ssh_host_ed25519_key.pub', dest: 'fingerprints/{{ ansible_hostname }}_ed25519.pub' }
|