diff --git a/vars/redhat-7.yml b/vars/redhat.yml similarity index 90% rename from vars/redhat-7.yml rename to vars/redhat.yml index be48b48e..feffefdb 100644 --- a/vars/redhat-7.yml +++ b/vars/redhat.yml @@ -28,7 +28,7 @@ octavia_service_distro_packages: - openstack-octavia-health-manager - openstack-octavia-housekeeping - openstack-octavia-worker - - systemd-python + - "{{ ansible_distribution_major_version is version('8', '<') | ternary('systemd-python', 'python3-systemd') }}" octavia_distro_openstack_clients_packages: - python-shade