You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

17 lines
562 B

  1. ---
  2. - name: Add Helm repositories
  3. kubernetes.core.helm_repository: "{{ helm_repository_defaults | combine(item) }}"
  4. loop: "{{ repositories }}"
  5. - name: Update Helm repositories
  6. kubernetes.core.helm:
  7. state: absent
  8. binary_path: "{{ bin_dir }}/helm"
  9. release_name: dummy # trick needed to refresh in separate step
  10. release_namespace: kube-system
  11. update_repo_cache: true
  12. when: repositories != []
  13. - name: Install Helm Applications
  14. kubernetes.core.helm: "{{ helm_defaults | combine(release_common_opts, item) }}"
  15. loop: "{{ releases }}"