Fix variable reference
continuous-integration/drone/push Build encountered an error Details

This commit is contained in:
Danny Bessems 2022-04-20 09:38:53 +02:00
parent 29f7ebf14a
commit 8daffc88b2
1 changed files with 1 additions and 4 deletions

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