Merge "Fixed package names for CentOS-8 octavia deployment" into stable/stein

This commit is contained in:
Zuul 2020-07-04 00:45:58 +00:00 committed by Gerrit Code Review
commit 1f7156def3
1 changed files with 18 additions and 7 deletions

View File

@ -164,13 +164,24 @@ outputs:
Log files from octavia containers can be found under
/var/log/containers/octavia and /var/log/containers/httpd/octavia-api.
ignore_errors: true
- name: Ensure packages required for configuring octavia are present
package:
name:
- python2-neutronclient
- python2-openstackclient
- openssl
state: present
- block:
- name: Ensure packages required for configuring octavia are present for CentOS 7
package:
name:
- python2-neutronclient
- python2-openstackclient
- openssl
state: present
when: ansible_distribution_major_version is version(8, '<')
- name: Ensure packages required for configuring octavia are present for CentOS/RHEL 8
package:
name:
- python3-neutronclient
- python3-openstackclient
- openssl
state: present
when: ansible_distribution_major_version is version(8, '>=')
when: {get_param: EnablePackageInstall}
- name: enable virt_sandbox_use_netlink for healthcheck
seboolean: