Fix variable reference
Some checks reported errors
continuous-integration/drone/push Build encountered an error

This commit is contained in:
Danny Bessems 2022-04-20 09:38:53 +02:00
parent 29f7ebf14a
commit 8daffc88b2

View File

@ -72,12 +72,9 @@
register: publickeys
with_items: "{{ nodes }}"
- ansible.builtin.debug:
var: publickeys
- name: Store public keys
ansible.builtin.known_hosts:
name: "{{ item.item }}"
name: "{{ item.item.name }}"
key: "{{ item.stdout }}"
state: present
path: ~/.ssh/known_hosts