Load ip_vs module from the host

Currently the ip_vs module is loaded from the keepalived container,
and if it works in a non-selinux separated env, it doesn't work with
podman.

Change-Id: I71e638bedde3836e05cffab53ad80bfd35313a31
Related-Bug: 1794550
This commit is contained in:
Cédric Jeanneret 2018-09-26 16:49:25 +02:00
parent 9aab4de972
commit 694b8d3756
1 changed files with 6 additions and 0 deletions

View File

@ -105,6 +105,12 @@ outputs:
- KOLLA_CONFIG_STRATEGY=COPY_ALWAYS
command: /usr/local/bin/kolla_start
host_prep_tasks:
- name: load ip_vs module
import_role:
role: tripleo-module-load
vars:
modules:
- name: ip_vs
- name: create persistent logs directory
file:
path: /var/log/containers/keepalived