From 11235ab8596799d08f4354c027966b90e6a35273 Mon Sep 17 00:00:00 2001 From: Ethan Paul Date: Tue, 24 May 2022 23:22:19 -0400 Subject: [PATCH] Fix typo in bashrc for setting ansible path --- skylab/core/roles/workstation/files/bashrc.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/skylab/core/roles/workstation/files/bashrc.sh b/skylab/core/roles/workstation/files/bashrc.sh index d5c50aa..0a06ea4 100644 --- a/skylab/core/roles/workstation/files/bashrc.sh +++ b/skylab/core/roles/workstation/files/bashrc.sh @@ -11,7 +11,7 @@ export PROJECTS_DIR="$HOME/projects" function gg() { cd "$PROJECTS_DIR/$1"; if [ -f "$PROJECTS_DIR/$1/ansible.cfg" ]; then - ANSIBLE_CONFIG="$PROJECTS_DIR/$1/ansible.cfg" ANSIBLE_COLLECTIONS_DIR="$PROJECTS_DIR/$1/.ansible" poetry shell; + ANSIBLE_CONFIG="$PROJECTS_DIR/$1/ansible.cfg" ANSIBLE_COLLECTIONS_PATH="$PROJECTS_DIR/$1/.ansible" poetry shell; elif [ -f "$PROJECTS_DIR/$1/pyproject.toml" ]; then poetry shell; fi