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

Role fails to install on Rocky 8.6 #512

Closed ghost closed 1 year ago

ghost commented 1 year ago

Fails on installing the Consul package in task Install consul package when using the install from repo option.

Seems the repo doesn't get added because Rocky doesn't pass the 'when' check in task Install repository. The block checks when: "ansible_os_family|lower in [ 'debian', 'redhat' ]", but Rocky seems to have os_family value Rocky. (You can check this with ansible <host> -m setup -a 'filter=ansible_os*').

ghost commented 1 year ago

Nevermind, our Ansible version is too old: https://forums.rockylinux.org/t/ansible-os-family-question/3320/6