From 9168f4cd2ce13ffb50cb91f1d9c2fc582c958731 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=99=86=E7=A7=8B=E6=96=87?= Date: Fri, 23 Jun 2023 01:40:33 +0000 Subject: [PATCH] fix the when condition of replace action in hasp. --- ansible/roles/hasp/tasks/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: