braincraft-gmbh / ansible-hcloud

An ansible role to provision and manage hosts, volumes and SSH keys in the Hetzner Cloud
4 stars 0 forks source link

Getting error in "Remove old keys from known_hosts" task #3

Open hubitor opened 4 years ago

hubitor commented 4 years ago

I'm getting following error when I run this playbook:

# playbook.yml
- hosts: localhost
  roles:
    - { role: bc.hcloud, state: present }
TASK [bc.hcloud : Remove old keys from known_hosts] *************************************************************************************
fatal: [localhost]: FAILED! => {"msg": "Invalid data passed to 'loop', it requires a list, got this instead: . Hint: If you passed a list/dict of just one element, try adding wantlist=True to your lookup invocation or use q/query instead of lookup."}