Thienvv -

This commit is contained in:
thienqb123456
2024-12-23 00:48:32 +07:00
parent 63f40a088e
commit 46b517894e
+6 -7
View File
@@ -14,18 +14,17 @@
- name: Debug active_path
debug:
var: active_path
- name: Handle error if active_path is null
fail:
msg: "The IIS site active path could not be determined."
when: active_path.stdout is null
# Chuẩn hóa giá trị của active_path
- name: Normalize active_path
set_fact:
active_path: "{{ active_path.stdout | default('') | trim }}"
# Debug Debug active_path
- name: Debug active_path
debug:
var: active_path
active_path: "{{ active_path.stdout | trim }}"
- name: Debug blue_path
debug: