Merge "Octavia: Remove unnecessary neutronclient package"

This commit is contained in:
Zuul 2022-07-01 13:10:33 +00:00 committed by Gerrit Code Review
commit 0103d141fc
1 changed files with 6 additions and 18 deletions

View File

@ -155,24 +155,12 @@ outputs:
mode: "{{ item.mode }}"
with_items:
- { 'path': /var/log/containers/octavia, 'setype': container_file_t, 'mode': '0750' }
- block:
- name: Ensure packages required for configuring octavia are present for CentOS 7
package:
name:
- python2-neutronclient
- python2-openstackclient
- openssl
state: present
when: ansible_facts['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_facts['distribution_major_version'] is version(8, '>=')
- name: Ensure package required for configuring octavia are present
package:
name:
- openssl
- python3-openstackclient
state: present
when: {get_param: EnablePackageInstall}
- name: enable virt_sandbox_use_netlink for healthcheck
seboolean: