From 6377a56d957be269f39f71a56638cc1171398ba9 Mon Sep 17 00:00:00 2001 From: il Date: Fri, 17 Apr 2026 14:09:17 +0900 Subject: [PATCH] refactor(ldap): Add annotation in ldap roles file the reason why task doesn't use init logic which uses .init file --- ansible/roles/infra/tasks/services/set_ldap.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ansible/roles/infra/tasks/services/set_ldap.yaml b/ansible/roles/infra/tasks/services/set_ldap.yaml index d236f3d..ee20064 100644 --- a/ansible/roles/infra/tasks/services/set_ldap.yaml +++ b/ansible/roles/infra/tasks/services/set_ldap.yaml @@ -55,6 +55,8 @@ no_log: true - name: Initiate ldap (When = false, If DB data does not exist in postgresql, activate this block) +# The reason why this task doesn't use the way to check ".init" file is this tasks can override original database. +# Absent of ".init" file cannot guarantee DB is empty. when: false become: true block: