Merge "Fixed package names for CentOS-8 octavia deployment"
This commit is contained in:
commit
cd89b10e96
@ -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…
x
Reference in New Issue
Block a user