mirror of https://github.com/ceph/ceph-ansible.git
ceph-osd: Install numactl package when needed
Withpull/3711/head v3.2.93e32dce
we can run OSD containers with numactl support. When using numactl command in a containerized deployment we need to be sure that the corresponding package is installed on the host. The package installation is only executed when the ceph_osd_numactl_opts variable isn't empty. Signed-off-by: Dimitri Savineau <dsavinea@redhat.com> (cherry picked from commitb7f4e3e7c7
)
parent
34086ec233
commit
2f3206abeb
|
@ -10,6 +10,17 @@
|
|||
- not containerized_deployment
|
||||
- ansible_os_family != 'ClearLinux'
|
||||
|
||||
- name: install numactl when needed
|
||||
package:
|
||||
name: numactl
|
||||
register: result
|
||||
until: result is succeeded
|
||||
when:
|
||||
- containerized_deployment
|
||||
- ceph_osd_numactl_opts != ""
|
||||
tags:
|
||||
- with_pkg
|
||||
|
||||
- name: include_tasks common.yml
|
||||
include_tasks: common.yml
|
||||
|
||||
|
|
Loading…
Reference in New Issue