ansible-collections / ansible-consul

:satellite: Ansible role for Hashicorp Consul clusters
https://galaxy.ansible.com/ansible-community/consul/
BSD 2-Clause "Simplified" License
452 stars 313 forks source link

The conditional check 'ansible_distribution not in _consul_nix_distros' failed #471

Open dimakyriakov opened 2 years ago

dimakyriakov commented 2 years ago

Time by time I am facing weird errors while starting "site.yml" playbook to install consul on my nodes. It's strange, because I always use the same distribution - Ubuntu 20.04.4 LTS. image

Blefish commented 2 years ago

Are you gathering facts in the playbook? Seems like ansible_distribution is currently undefined, which should be filled in when gathering host facts.