summaryrefslogtreecommitdiffstats
path: root/roles/openshift_node/tasks/config/workaround-bz1331590-ovs-oom-fix.yml
blob: 5df1abc79567b6ddf65470bc3fc9e0ac50247d8e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
---
# May be a temporary workaround.
# https://bugzilla.redhat.com/show_bug.cgi?id=1331590
- name: Create OpenvSwitch service.d directory
  file: path=/etc/systemd/system/openvswitch.service.d/ state=directory

- name: Install OpenvSwitch service OOM fix
  template:
    dest: "/etc/systemd/system/openvswitch.service.d/01-avoid-oom.conf"
    src: openvswitch-avoid-oom.conf
  notify:
  - reload systemd units
  - restart openvswitch