Skip to content

Commit

Permalink
Codify workaround
Browse files Browse the repository at this point in the history
Refs #118
  • Loading branch information
sverhoeven committed Jan 17, 2022
1 parent 4896569 commit f967c64
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions roles/ewatercycle/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -86,3 +86,14 @@
- name: conda clean
# TODO check if cleaning is needed
command: '{{ conda_root }}/condabin/conda clean -a -y' # noqa no-changed-when

- name: nbgitpuller workaround
# See https://github.com/jupyterhub/nbgitpuller/issues/235
# TODO remove once new version of nbgitpuller is released
file:
src: '{{ conda_root }}/envs/{{ conda_environment }}/lib/python3.9/site-packages/nbgitpuller/templates/status.html'
dest: '{{ conda_root }}/envs/{{ conda_environment }}/lib/python3.9/site-packages/notebook/templates/status.html'
owner: root
group: root
mode: '0644'
state: link

0 comments on commit f967c64

Please sign in to comment.