tang --maxmemory cua portal

This commit is contained in:
thienqb123456
2025-03-04 17:13:09 +07:00
parent 9d15ed743a
commit c7500c16ef
10 changed files with 199 additions and 0 deletions
@@ -0,0 +1,12 @@
- name: Validate variables
assert:
that:
- temp_dir is defined and temp_dir | length > 0
- artifact_name is defined and artifact_name | length > 0
fail_msg: "Thiếu hoặc rỗng biến cần thiết để cleanup_temp_artifact!"
# Xóa file tạm
- name: Clean up temporary files
win_file:
path: "{{ temp_dir }}\\{{ artifact_name }}"
state: absent