Strip ssh-keyscan header
continuous-integration/drone/push Build encountered an error
Details
continuous-integration/drone/push Build encountered an error
Details
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