diff options
| author | Eugene Triguba <hello@eugenetriguba.com> | 2026-10-08 18:01:11 -0700 |
|---|---|---|
| committer | Eugene Triguba <hello@eugenetriguba.com> | 2026-10-11 18:36:51 -0700 |
| commit | 33bfce81f82fa1caf7d061485d257d7838534f19 (patch) | |
| tree | 0d11c71b3d80cff954f1f777a0e524b156eb16c8 /roles/obsd_git/templates/git-shell-commands/create | |
| parent | Add public and private git repo dir setup (diff) | |
| download | site-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/create | 4 |
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 |