Skip to content

Commit

Permalink
fix(ansible): reorder commands
Browse files Browse the repository at this point in the history
  • Loading branch information
annehaley committed Apr 13, 2024
1 parent 02829e2 commit a4b7e61
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions ansible/playbook.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,14 +62,17 @@
cp -nr /opt/shapeworks/lib/* /usr/local/lib/.
become: true
become_user: root
- name: Install Conda & Create ShapeWorks Conda Env
- name: Install Conda
ansible.builtin.shell: |
export PATH=/opt/conda/bin:$PATH
curl https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh -o /tmp/Miniconda3-latest-Linux-x86_64.sh
chmod 777 /tmp/Miniconda3-latest-Linux-x86_64.sh
/tmp/Miniconda3-latest-Linux-x86_64.sh -b -f -p /opt/conda
cd /opt/shapeworks
source install_shapeworks.sh
become: true
become_user: root
- name: Create ShapeWorks Conda Env
ansible.builtin.shell: |
export PATH=/opt/conda/bin:$PATH
conda run /bin/bash -c source /opt/shapeworks/install_shapeworks.sh
args:
executable: /bin/bash
become: true
Expand Down

0 comments on commit a4b7e61

Please sign in to comment.