aboutsummaryrefslogtreecommitdiffstats
path: root/roles/obsd_git/templates/git-shell-commands/create
diff options
context:
space:
mode:
authorEugene Triguba <hello@eugenetriguba.com>2026-10-08 18:01:11 -0700
committerEugene Triguba <hello@eugenetriguba.com>2026-10-11 18:36:51 -0700
commit33bfce81f82fa1caf7d061485d257d7838534f19 (patch)
tree0d11c71b3d80cff954f1f777a0e524b156eb16c8 /roles/obsd_git/templates/git-shell-commands/create
parentAdd public and private git repo dir setup (diff)
downloadsite-configs-33bfce81f82fa1caf7d061485d257d7838534f19.zip
Resolve ansible-lint findings
Primarily, this is renaming variables to be prefixed with the role name.
Diffstat (limited to 'roles/obsd_git/templates/git-shell-commands/create')
-rw-r--r--roles/obsd_git/templates/git-shell-commands/create4
1 files changed, 2 insertions, 2 deletions
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