v3 #1
@@ -10,12 +10,19 @@
|
||||
$site.PhysicalPath
|
||||
register: active_path
|
||||
|
||||
# Debug Debug active_path
|
||||
- name: Debug active_path
|
||||
debug:
|
||||
var: active_path
|
||||
|
||||
|
||||
# Chuẩn hóa giá trị của active_path
|
||||
- name: Normalize active_path
|
||||
set_fact:
|
||||
active_path: "{{ active_path.stdout | trim }}"
|
||||
active_path: "{{ active_path.stdout | default('') | trim }}"
|
||||
|
||||
# Debug các biến quan trọng
|
||||
|
||||
# Debug Debug active_path
|
||||
- name: Debug active_path
|
||||
debug:
|
||||
var: active_path
|
||||
|
||||
Reference in New Issue
Block a user