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 Log files from octavia containers can be found under
/var/log/containers/octavia and /var/log/containers/httpd/octavia-api. /var/log/containers/octavia and /var/log/containers/httpd/octavia-api.
ignore_errors: true ignore_errors: true
- name: Ensure packages required for configuring octavia are present - block:
package: - name: Ensure packages required for configuring octavia are present for CentOS 7
name: package:
- python2-neutronclient name:
- python2-openstackclient - python2-neutronclient
- openssl - python2-openstackclient
state: present - 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} when: {get_param: EnablePackageInstall}
- name: enable virt_sandbox_use_netlink for healthcheck - name: enable virt_sandbox_use_netlink for healthcheck
seboolean: seboolean: