Role fails to install on Rocky 8.6
rsnijdervisymo opened this issue · 1 comments
rsnijdervisymo commented
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*'
).
rsnijdervisymo commented
Nevermind, our Ansible version is too old:
https://forums.rockylinux.org/t/ansible-os-family-question/3320/6