Skip to content
Snippets Groups Projects
Commit 85fab4e2 authored by František Dvořák's avatar František Dvořák
Browse files

Merge branch 'helm_update_fix' into 'master'

Fixing helm repo update logic

See merge request !46
parents 6d9964eb 94f03310
No related branches found
No related tags found
1 merge request!46Fixing helm repo update logic
...@@ -7,10 +7,13 @@ ...@@ -7,10 +7,13 @@
shell: |- shell: |-
helm repo add jupyterhub https://jupyterhub.github.io/helm-chart/ helm repo add jupyterhub https://jupyterhub.github.io/helm-chart/
helm repo add eginotebooks https://egi-federation.github.io/egi-notebooks-chart/ helm repo add eginotebooks https://egi-federation.github.io/egi-notebooks-chart/
helm repo update
changed_when: true changed_when: true
when: "'jupyterhub' not in ansible_local.helm_repos | map(attribute='name') | list or when: "'jupyterhub' not in ansible_local.helm_repos | map(attribute='name') | list or
'eginotebooks' not in ansible_local.helm_repos | map(attribute='name') | list" 'eginotebooks' not in ansible_local.helm_repos | map(attribute='name') | list"
- name: Get latest helm charts
shell: |-
helm repo update
changed_when: true
- name: Get Secrets from Vault for notebooks - name: Get Secrets from Vault for notebooks
vars: vars:
name: "{{ item | basename | splitext | first }}" name: "{{ item | basename | splitext | first }}"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment