You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to use the helm-apps role in order to install a few applications with helm. The problem is that helm-apps uses the helm role as a dependency, which fails with the following error:
TASK [kubernetes-apps/helm : Download_file | Show url of file to dowload] *************************************************************************************************************************************** fatal: [node1]: FAILED! => {"msg": "The task includes an option with an undefined variable. The error was: {{ download_defaults | combine(downloads.helm) }}: 'download_defaults' is undefined. 'download_defaults' is undefined. {{ download_defaults | combine(downloads.helm) }}: 'download_defaults' is undefined. 'download_defaults' is undefined\n\nThe error appears to be in '/home/kubespray/roles/download/tasks/download_file.yml': line 10, column 5, but may\nbe elsewhere in the file depending on the exact syntax problem.\n\nThe offending line appears to be:\n\n\n - name: Download_file | Show url of file to dowload\n ^ here\n"}
My playbook follows the example provided by the repo documentation (I'll place it here for accessibility) and is executed at the end of all the cluster deployment (cluster.yml):
I'm trying to use the helm-apps role in order to install a few applications with helm. The problem is that helm-apps uses the helm role as a dependency, which fails with the following error:
TASK [kubernetes-apps/helm : Download_file | Show url of file to dowload] *************************************************************************************************************************************** fatal: [node1]: FAILED! => {"msg": "The task includes an option with an undefined variable. The error was: {{ download_defaults | combine(downloads.helm) }}: 'download_defaults' is undefined. 'download_defaults' is undefined. {{ download_defaults | combine(downloads.helm) }}: 'download_defaults' is undefined. 'download_defaults' is undefined\n\nThe error appears to be in '/home/kubespray/roles/download/tasks/download_file.yml': line 10, column 5, but may\nbe elsewhere in the file depending on the exact syntax problem.\n\nThe offending line appears to be:\n\n\n - name: Download_file | Show url of file to dowload\n ^ here\n"}
My playbook follows the example provided by the repo documentation (I'll place it here for accessibility) and is executed at the end of all the cluster deployment (cluster.yml):
If I comment the dependency lines in helm-apps/meta/main.yaml, everything works well.
I hope you can help me as I'm starting with Ansible and Kubespray and this problem has been bugging me for days. Thank you in advance!
The text was updated successfully, but these errors were encountered: