Skip to content

Commit

Permalink
fix(ansible): move conda init command
Browse files Browse the repository at this point in the history
  • Loading branch information
annehaley committed Apr 13, 2024
1 parent db1e279 commit 637c99b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ansible/playbook.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,14 +71,14 @@
ansible.builtin.shell: |
cd /opt/shapeworks && /opt/conda/bin/conda run /bin/bash -c "source install_shapeworks.sh"
/opt/conda/bin/conda clean -t -y
/opt/conda/bin/conda init
echo "conda activate shapeworks" >> /home/ubuntu/.bashrc
args:
executable: /bin/bash
become: true
become_user: root
- name: Install dependencies in ShapeWorks Conda Env
ansible.builtin.shell: |
/opt/conda/bin/conda init
/opt/conda/bin/conda activate shapeworks
pip install /home/ubuntu/celery_project
pip install /home/ubuntu/celery_project/swcc
Expand Down

0 comments on commit 637c99b

Please sign in to comment.