diff --git a/roles/jupyterhub/tasks/install.yml b/roles/jupyterhub/tasks/install.yml index cf9c21672..895c24501 100644 --- a/roles/jupyterhub/tasks/install.yml +++ b/roles/jupyterhub/tasks/install.yml @@ -70,6 +70,15 @@ ansible.builtin.shell: cmd: "{{ jupyterhub_venv }}/bin/patch_await.sh" +- name: Turn off the warning about http insecurity + template: + src: patch-http-warning.sh + dest: "{{ jupyterhub_venv }}/bin/patch_http-warning.sh" + mode: 0755 + +- name: Now run the installed script + ansible.builtin.shell: + cmd: "{{ jupyterhub_venv }}/bin/patch_http-warning.sh" # RECORD JupyterHub AS INSTALLED