3 url: "https://get.helm.sh/helm-v{{ helm_version }}-linux-amd64.tar.gz"
9 src: "/tmp/helm-v{{ helm_version }}-linux-amd64.tar.gz"
13 - name: Copy helm binary to $PATH
16 src: "/tmp/linux-amd64/helm"
17 dest: "/usr/local/bin/"
20 - name: Install Helm Push plugin
21 kubernetes.core.helm_plugin:
22 plugin_path: "https://github.com/chartmuseum/helm-push.git"
25 - name: Install Helm OOM Deploy plugin
26 kubernetes.core.helm_plugin:
27 plugin_path: "{{ oom_dir }}/kubernetes/helm/plugins/deploy"
30 - name: Install Helm OOM Undeploy plugin
31 kubernetes.core.helm_plugin:
32 plugin_path: "{{ oom_dir }}/kubernetes/helm/plugins/undeploy"
35 - name: Download chartmuseum install script
37 url: "https://raw.githubusercontent.com/helm/chartmuseum/v{{ chartmuseum_version }}/scripts/get-chartmuseum"
41 - name: Install chartmuseum
44 cmd: "./get-chartmuseum -v v{{ chartmuseum_version }}"
47 - name: Create chartmuseum local storage
49 name: "{{ chartmuseum_dir }}"
53 - name: Install chartmuseum service file
56 src: "chartmuseum.service.j2"
57 dest: "/etc/systemd/system/chartmuseum.service"
59 notify: Reload systemd
61 - name: Start and enable chartmuseum
68 - name: Add local Helm repository
69 kubernetes.core.helm_repository:
71 repo_url: "http://127.0.0.1:{{ chartmuseum_port }}"