Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
badra001 committed Jan 30, 2026
1 parent a3155ff commit 5d15d5b
Showing 1 changed file with 12 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ APP_DIR="/apps/ansible"
PYTHON_VERSION="3.13"
MAKE_RELOCATABLE=0
VERSION="1.0.5"
OWNER="root"
GROUP="root"
UMASK="022"
# ---------------------

THIS=$(basename $0 .sh)
Expand All @@ -15,9 +18,16 @@ fi

echo "Initializing Ansible Distribution v$VERSION..."

# 0. export environment variables needed
export SSL_CERT_FILE=/etc/pki/tls/certs/ca-bundle.crt
#export UV_PYTHON_INSTALL_DIR=/apps/uv/share
export UV_LINK_MODE=copy
export UV_NATIVE_TLS=true

# 1. Prepare Directory
sudo mkdir -p "$APP_DIR"
sudo chown $(whoami):$(whoami) "$APP_DIR"
mkdir -p "$APP_DIR"
umask $UMASK
#chown $(OWNER):$(GROUP) "$APP_DIR"
cd "$APP_DIR"

# 2. Initialize project
Expand Down

0 comments on commit 5d15d5b

Please sign in to comment.