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 <akasurde@redhat.com>
This commit is contained in:
Jan Heylen 2020-01-06 17:09:27 +01:00 committed by Alicia Cozine
parent e5b2432122
commit 6ba4f04f45

View file

@ -90,6 +90,8 @@ EXAMPLES = '''
state: present state: present
name: my-example name: my-example
namespace: default namespace: default
values:
foo: "bar"
- name: Install helm chart from a git repo specifying path - name: Install helm chart from a git repo specifying path
helm: helm:
@ -102,6 +104,7 @@ EXAMPLES = '''
state: present state: present
name: my-memcached name: my-memcached
namespace: default namespace: default
values: "{{ lookup('file', '/path/to/file/values.yaml') | from_yaml }}"
''' '''
import traceback import traceback