ansible / ansible.builtin / v2.9.27 / module / helm Manages Kubernetes packages with the Helm package manager | "added in version" 2.4 of ansible.builtin" Authors: Flavio Percoco (@flaper87) preview | supported by communityansible.builtin.helm (v2.9.27) — module
pip
Install with pip install ansible==2.9.27
Install, upgrade, delete and list packages with the Helm package manager.
- name: Install helm chart helm: host: localhost chart: name: memcached version: 0.4.0 source: type: repo location: https://kubernetes-charts.storage.googleapis.com state: present name: my-memcached namespace: default
- name: Uninstall helm chart helm: host: localhost state: absent name: my-memcached
- name: Install helm chart from a git repo helm: host: localhost chart: source: type: git location: https://github.com/user/helm-chart.git state: present name: my-example namespace: default
- name: Install helm chart from a git repo specifying path helm: host: localhost chart: source: type: git location: https://github.com/helm/charts.git path: stable/memcached state: present name: my-memcached namespace: default
host: default: localhost description: - Tiller's server host. name: description: - Release name to manage. port: default: 44134 description: - Tiller's server port. chart: default: {} description: 'A map describing the chart to install. See examples for available options. ' state: choices: - absent - purged - present default: present description: - Whether to install C(present), remove C(absent), or purge C(purged) a package. values: default: {} description: - A map of value options for the chart. namespace: default: default description: - Kubernetes namespace where the chart should be installed. disable_hooks: default: 'no' description: - Whether to disable hooks during the uninstall process. type: bool