Browse Source

Rolle cleanup
- hinzugefügt

erdo_king 7 năm trước cách đây
mục cha
commit
221d9379ae
2 tập tin đã thay đổi với 8 bổ sung0 xóa
  1. 2 0
      main.yml
  2. 6 0
      roles/cleanup/tasks/main.yml

+ 2 - 0
main.yml

@@ -18,3 +18,5 @@
   roles:
      - role: linux_updates
        tags: linux_updates
+     - role: cleanup
+       tags: cleanup

+ 6 - 0
roles/cleanup/tasks/main.yml

@@ -0,0 +1,6 @@
+---
+- name: cleanup apt-update - mk_job
+  file:
+     path: /var/lib/check_mk_agent/job/root/apt-update
+     state: absent
+