瀏覽代碼

Remove remaining haproxy files with uninstallation

Kenjiro Nakayama 7 年之前
父節點
當前提交
765f304f9c
共有 1 個文件被更改,包括 4 次插入0 次删除
  1. 4 0
      playbooks/adhoc/uninstall.yml

+ 4 - 0
playbooks/adhoc/uninstall.yml

@@ -525,3 +525,7 @@
     with_items:
     - /etc/ansible/facts.d/openshift.fact
     - /var/lib/haproxy/stats
+    # Here we remove only limits.conf rather than directory, as users may put their files.
+    # - /etc/systemd/system/haproxy.service.d
+    - /etc/systemd/system/haproxy.service.d/limits.conf
+    - /etc/systemd/system/haproxy.service