Fix variable reference
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
29f7ebf14a
commit
8daffc88b2
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user