3 url: "https://get.helm.sh/helm-v{{ helm_version }}-linux-amd64.tar.gz"
8 src: "/tmp/helm-v{{ helm_version }}-linux-amd64.tar.gz"
12 - name: Copy helm binary to $PATH
15 src: "/tmp/linux-amd64/helm"
16 dest: "/usr/local/bin/"
20 - name: Install Helm Push plugin
21 command: helm plugin install --version 0.9.0 https://github.com/chartmuseum/helm-push.git
23 - name: Install Helm OOM Deploy plugin
24 kubernetes.core.helm_plugin:
25 plugin_path: "{{ oom_dir }}/kubernetes/helm/plugins/deploy"
28 - name: Install Helm OOM Undeploy plugin
29 kubernetes.core.helm_plugin:
30 plugin_path: "{{ oom_dir }}/kubernetes/helm/plugins/undeploy"
33 - name: Download chartmuseum install script
35 url: "https://raw.githubusercontent.com/helm/chartmuseum/v{{ chartmuseum_version }}/scripts/get-chartmuseum"
39 - name: Install chartmuseum
42 cmd: "./get-chartmuseum -v v{{ chartmuseum_version }}"
45 - name: Create chartmuseum local storage
47 name: "{{ chartmuseum_dir }}"
51 - name: Install chartmuseum service file
54 src: "chartmuseum.service.j2"
55 dest: "/etc/systemd/system/chartmuseum.service"
57 notify: Reload systemd
59 - name: Start and enable chartmuseum
66 - name: Add local Helm repository
67 kubernetes.core.helm_repository:
69 repo_url: "http://127.0.0.1:{{ chartmuseum_port }}"