[Ansible] [Yoga] Not recognising Rocky Linux as supported

Father Vlasie fv at spots.edu
Fri Aug 12 21:35:32 UTC 2022


Hello everyone!

I am trying to deploy Openstack Ansible with Rocky Linux 8.6 on my target hosts. The documentation here (https://docs.openstack.org/project-deploy-guide/openstack-ansible/latest/targethosts.html) says "	• Centos 8 Stream 64-bit * Derivitives: Rocky Linux” under the list of supported operation systems.

Ansible does not seem to check for the existence of RHEL 8 systems. :( 

But when I run “openstack-ansible setup-hosts.yml” I get the error:

TASK [Check for a supported Operating System] *****************************************************************************************
fatal: [infra1]: FAILED! => {
    "assertion": "(ansible_facts['distribution'] == 'Debian' and ansible_facts['distribution_release'] == 'bullseye') or (ansible_facts['distribution'] == 'Ubuntu' and ansible_facts['distribution_release'] == 'focal') or (ansible_facts['distribution'] == 'Ubuntu' and ansible_facts['distribution_release'] == 'jammy') or (ansible_facts['os_family'] == 'RedHat' and ansible_facts['distribution_major_version'] == '9')",
    "changed": false,
    "evaluated_to": false,
    "msg": "The only supported platforms for this release are Debian 11 (Bullseye), Ubuntu 20.04 LTS (Focal), Ubuntu 22.04 (Jammy) and CentOS 9 Stream.\n”

What should I do?

Thank you!


More information about the openstack-discuss mailing list