geerlingguy / ansible-role-docker

Ansible Role - Docker
https://galaxy.ansible.com/geerlingguy/docker/
MIT License
1.84k stars 856 forks source link

add Rocky Linux #345

Closed vandsten closed 2 years ago

vandsten commented 2 years ago

There is support with RedHat but not for Rocky Linux. Rocky Linux return ansible_os_family string "Rocky". Adding setup-Rocky.yml and change in main.yml file is probably enough.

geerlingguy commented 2 years ago

I am testing on Rocky Linux (see https://github.com/geerlingguy/ansible-role-docker/blob/master/.github/workflows/ci.yml#L44) and it's working. There may have been a bug in earlier versions of Ansible but with the latest versions of Ansible this role works fine on Rocky and Alma.