workaround-bz1331590-ovs-oom-fix.yml 434 B

12345678910111213
  1. ---
  2. # May be a temporary workaround.
  3. # https://bugzilla.redhat.com/show_bug.cgi?id=1331590
  4. - name: Create OpenvSwitch service.d directory
  5. file: path=/etc/systemd/system/openvswitch.service.d/ state=directory
  6. - name: Install OpenvSwitch service OOM fix
  7. template:
  8. dest: "/etc/systemd/system/openvswitch.service.d/01-avoid-oom.conf"
  9. src: openvswitch-avoid-oom.conf
  10. notify:
  11. - reload systemd units
  12. - restart openvswitch