ansible.builtin.helm (v2.5.6) — module

Manages Kubernetes packages with the Helm package manager

| "added in version" 2.4 of ansible.builtin"

Authors: Flavio Percoco (flaper87)

preview | supported by community

Install Ansible via pip

Install with pip install ansible==2.5.6

Description

Install, upgrade, delete and list packages with the Helm package manage


Requirements

Usage examples

  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
- 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: installed
    name: my-memcached
    namespace: default
  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
- name: Uninstall helm chart
  helm:
    host: localhost
    state: absent
    name: my-memcached

Inputs

    
host:
    default: localhost
    description:
    - Tiller's server host
    required: false

name:
    default: null
    description:
    - Release name to manage
    required: false

port:
    default: 44134
    description:
    - Tiller's server port
    required: false

chart:
    default: {}
    description: "A map describing the chart to install. For example:\nchart:\n  name:\
      \ memcached\n  version: 0.4.0\n  source:\n    type: repo\n    location: https://kubernetes-charts.storage.googleapis.com\n"
    required: false

state:
    choices:
    - absent
    - purged
    - present
    default: installed
    description:
    - Whether to install C(present), remove C(absent), or purge C(purged) a package.
    required: false

values:
    default: {}
    description:
    - A map of value options for the chart.
    required: false

namespace:
    default: default
    description:
    - Kubernetes namespace where the chart should be installed
    required: false

disable_hooks:
    default: false
    description:
    - Whether to disable hooks during the uninstall process
    required: false