Strip ssh-keyscan header
Some checks reported errors
continuous-integration/drone/push Build encountered an error
Some checks reported errors
continuous-integration/drone/push Build encountered an error
This commit is contained in:
parent
a52d8014d1
commit
4a8a154a01
@ -68,7 +68,7 @@
|
||||
|
||||
- name: Scan public keys
|
||||
ansible.builtin.command:
|
||||
cmd: "ssh-keyscan -t rsa {{ item.ip }}"
|
||||
cmd: "ssh-keyscan -t rsa {{ item.ip }} | grep ^[^#]"
|
||||
register: publickeys
|
||||
with_items: "{{ nodes }}"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user