From 6ba4f04f45a3d896d0f835669e16b25279ab5430 Mon Sep 17 00:00:00 2001 From: Jan Heylen Date: Mon, 6 Jan 2020 17:09:27 +0100 Subject: [PATCH] Helm: add 'values' examples (#66197) * DOC: add 'values' examples to helm module docs, see https://github.com/ansible/ansible/issues/31117 Co-authored-by: Abhijeet Kasurde --- lib/ansible/modules/cloud/misc/helm.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/ansible/modules/cloud/misc/helm.py b/lib/ansible/modules/cloud/misc/helm.py index 15891f7b92f..b164f3f062d 100644 --- a/lib/ansible/modules/cloud/misc/helm.py +++ b/lib/ansible/modules/cloud/misc/helm.py @@ -90,6 +90,8 @@ EXAMPLES = ''' state: present name: my-example namespace: default + values: + foo: "bar" - name: Install helm chart from a git repo specifying path helm: @@ -102,6 +104,7 @@ EXAMPLES = ''' state: present name: my-memcached namespace: default + values: "{{ lookup('file', '/path/to/file/values.yaml') | from_yaml }}" ''' import traceback