From a36d7e04e3c380414e72b4c63e4c5da03af24dfa Mon Sep 17 00:00:00 2001 From: Kevin Thompson Date: Thu, 7 Aug 2025 14:10:22 -0500 Subject: [PATCH] Formatting --- roles/inventory/linode/tasks/main.yml | 2 -- 1 file changed, 2 deletions(-) diff --git a/roles/inventory/linode/tasks/main.yml b/roles/inventory/linode/tasks/main.yml index b8af7d9..e5610bd 100644 --- a/roles/inventory/linode/tasks/main.yml +++ b/roles/inventory/linode/tasks/main.yml @@ -157,10 +157,8 @@ - name: Initialize Git if needed and configure ansible.builtin.shell: | - # Check if we're in a git repo, if not try to find the actual project directory if [ ! -d ".git" ]; then echo "Not in a git repository, checking for git in parent directories" - # Try to find the git root git_root=$(git rev-parse --show-toplevel 2>/dev/null || echo "") if [ -n "$git_root" ]; then cd "$git_root"