MorphoCloud / MorphoCloudWorkflow

Reusable GitHub Workflows to manage JetStream2 backed on-demand virtual machines
BSD 2-Clause "Simplified" License
1 stars 1 forks source link

ansible(slicer): Fix install of extensions #2

Closed jcfr closed 1 month ago

jcfr commented 1 month ago

From @muratmaga

Extensions are not installed by default.

jcfr commented 1 month ago

Based on the following, extensions are expected to be installed:

slicer_extensions:
  - SlicerMorph
  - SurfaceWrapSolidify

Source: https://github.com/jcfr/exosphere/blob/5f85d93d58c746856019dce43c8686e1eeadcb36/ansible/roles/slicer/vars/main.yml#L14-L16

- name: 'Slicer extensions installed'
  become: yes
  become_user: exouser
  command: "{{ install_dir }}/dist/slicer-download.sh -d {{ install_dir }}/Slicer -v {{ slicer_release_id }} -e {{ item }}"
  loop: '{{ slicer_extensions }}'

Source: https://github.com/jcfr/exosphere/blob/5f85d93d58c746856019dce43c8686e1eeadcb36/ansible/roles/slicer/tasks/main.yml#L82-L86

jcfr commented 1 month ago

Extensions seems to be installed:

SlicerMorph SurfaceWrapSolidify
image image

That said issues are:

jcfr commented 1 month ago

Fixed in MorphoCloud/exosphere@57c952b1 and integrated through https://github.com/MorphoCloud/MorphoCloudWorkflow/commit/2c82cc300f958a95be5ec992a31677034b2ee721