From 33bfce81f82fa1caf7d061485d257d7838534f19 Mon Sep 17 00:00:00 2001 From: Eugene Triguba Date: Thu, 8 Oct 2026 18:01:11 -0700 Subject: Resolve ansible-lint findings Primarily, this is renaming variables to be prefixed with the role name. --- roles/obsd_git/templates/git-shell-commands/create | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'roles/obsd_git/templates/git-shell-commands/create') diff --git a/roles/obsd_git/templates/git-shell-commands/create b/roles/obsd_git/templates/git-shell-commands/create index 9ac25a5..53899eb 100644 --- a/roles/obsd_git/templates/git-shell-commands/create +++ b/roles/obsd_git/templates/git-shell-commands/create @@ -11,13 +11,13 @@ main() { repo_name=$(basename "$REPO" .git) if [ -n "$PROJ" ]; then - proj_dir="{{ git_home }}/$VISIBILITY/$PROJ" + proj_dir="{{ obsd_git_home }}/$VISIBILITY/$PROJ" if [ ! -d "$proj_dir" ]; then mkdir "$proj_dir" fi repo_path="$proj_dir/$repo_name.git" else - repo_path="{{ git_home }}/$VISIBILITY/$repo_name.git" + repo_path="{{ obsd_git_home }}/$VISIBILITY/$repo_name.git" fi if [ ! -d "$repo_path" ]; then -- cgit v1.2.3