blob: 54b64439257b2fc48ceda6d7f402775d8b1d9cb6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
---
- name: Helm init and upgrade
command: |
{{ helm_bin_dir }}/helm init
--upgrade
--skip-refresh
- name: Wait for helm
wait_for: timeout=10
delegate_to: localhost
- name: Get all helm repos
command: "{{ helm_bin_dir }}/helm repo list"
register: repos
- name: Remove stable repo
command: "{{ helm_bin_dir }}/helm repo remove stable"
when: "'stable' in repos.stdout"
- name: Helm Serve
shell: "{{ helm_bin_dir }}/helm serve &"
async: 45
poll: 0
- name: Helm Add Repo
command: "{{ helm_bin_dir }}/helm repo add {{ helm_repository_name }} {{ helm_repository_url }}"
- name: Helm Make All
make:
chdir: "{{ app_helm_charts_directory }}"
target: all
- name: Helm Install application {{ app_name }}
command: "helm install {{ helm_repository_name }}/{{ app_helm_chart_name }} --name {{ app_helm_release_name }} --namespace {{ app_kubernetes_namespace }}"
|