Skip to content

Commit

Permalink
fix(ansible): export PATH for conda env creation
Browse files Browse the repository at this point in the history
  • Loading branch information
annehaley committed Apr 12, 2024
1 parent 1795fa2 commit d275a2b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ansible/playbook.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@
ansible.builtin.shell: |
apt-get update
apt-get install --no-install-recommends --yes libpq-dev gcc libc6-dev curl libgl1-mesa-glx libxt6 libglib2.0-0 libqt5core5a libxrender1
export $PATH=/opt/conda/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
curl https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh -o /tmp/Miniconda3-latest-Linux-x86_64.sh
bash /tmp/Miniconda3-latest-Linux-x86_64.sh -b -p /opt/conda
ln -s /opt/conda/etc/profile.d/conda.sh /etc/profile.d/conda.sh
Expand Down

0 comments on commit d275a2b

Please sign in to comment.