Fixed package names for CentOS-8 octavia deployment
Depends-On: https://review.opendev.org/711250 Change-Id: I9501b802c0a79996864761f2f0ef92df4a3d7c70 Signed-off-by: Chandan Kumar (raukadah) <chkumar@redhat.com>
This commit is contained in:
parent
8f1a781181
commit
0e80f600ac
@ -142,13 +142,24 @@ outputs:
|
||||
setype: "{{ item.setype }}"
|
||||
with_items:
|
||||
- { 'path': /var/log/containers/octavia, 'setype': container_file_t, 'mode': '0750' }
|
||||
- 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:
|
||||
|
Loading…
Reference in New Issue
Block a user