Uncomment things from update-hosts.yml
[public/csc-playbooks.git] / gather-ssh-fingerprints.yml
1 ---
2 - hosts: all
3   tasks:
4      - name: get fingerprints
5        fetch: src={{ item.src }} dest={{ item.dest }} flat=yes
6        with_items:
7          - { src: '/etc/ssh/ssh_host_rsa_key.pub', dest: 'fingerprints/{{ ansible_hostname }}_rsa.pub' }
8          - { src: '/etc/ssh/ssh_host_ed25519_key.pub', dest: 'fingerprints/{{ ansible_hostname }}_ed25519.pub' }