summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author陆秋文 <[email protected]>2023-06-23 01:40:33 +0000
committer陆秋文 <[email protected]>2023-06-23 01:40:33 +0000
commit9168f4cd2ce13ffb50cb91f1d9c2fc582c958731 (patch)
tree7d413720bb20f24903ab7dd50b3d6ab2221a12b1
parent344417dee601696d3abacab8ec4cb280d79df4eb (diff)
fix the when condition of replace action in hasp.v23.06.2
-rw-r--r--ansible/roles/hasp/tasks/main.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/ansible/roles/hasp/tasks/main.yml b/ansible/roles/hasp/tasks/main.yml
index 1b12ca86..7c85e134 100644
--- a/ansible/roles/hasp/tasks/main.yml
+++ b/ansible/roles/hasp/tasks/main.yml
@@ -38,7 +38,7 @@
replace: 'WantedBy=workload.target'
with_items:
- /usr/lib/systemd/system/hasp_monitor.service
- when: runtime_env != 'TSG-X-P0906'
+ when: runtime_env != 'TSG-X-P0906'
- name: "Create /etc/tsg/licence/ directory if it does not exist"
file: