Optimized sys-hlth-csp performance

This commit is contained in:
Kevin Veen-Birkenbach 2025-08-16 18:03:32 +02:00
parent 14d3f65a70
commit 43362e1694
No known key found for this signature in database
GPG Key ID: 44D8F11FD62F878E
2 changed files with 8 additions and 4 deletions

View File

@ -3,3 +3,10 @@
name: sys-hlth-csp{{ SYS_SERVICE_SUFFIX }} name: sys-hlth-csp{{ SYS_SERVICE_SUFFIX }}
enabled: yes enabled: yes
daemon_reload: yes daemon_reload: yes
async: "{{ ASYNC_TIME if ASYNC_ENABLED | bool else omit }}"
poll: "{{ ASYNC_POLL if ASYNC_ENABLED | bool else omit }}"
- name: rebuild checkcsp docker image
shell: checkcsp build
async: "{{ ASYNC_TIME if ASYNC_ENABLED | bool else omit }}"
poll: "{{ ASYNC_POLL if ASYNC_ENABLED | bool else omit }}"

View File

@ -8,10 +8,7 @@
name: pkgmgr-install name: pkgmgr-install
vars: vars:
package_name: checkcsp package_name: checkcsp
package_notify: rebuild checkcsp docker image
- name: rebuild checkcsp docker image
shell: checkcsp build
# Todo this could be optimized in the future
- name: "create {{ health_csp_crawler_folder }}" - name: "create {{ health_csp_crawler_folder }}"
file: file: