ansible-collections/community.kubernetes

Wrong examples in k8s module

Closed this issue · 2 comments

There is no template argument in the roof of module k8s as stated in the examples:

- name: Read definition template file from the Ansible controller file system
community.kubernetes.k8s:
state: present
template: '/testing/deployment.j2'
- name: Read definition template file from the Ansible controller file system that uses custom start/end strings
community.kubernetes.k8s:
state: present
template:
path: '/testing/deployment.j2'
variable_start_string: '[['
variable_end_string: ']]'

ISSUE TYPE
  • Documentation Report
COMPONENT NAME

k8s module

tima commented

What version of the collection are you using? That param was added in v1.1.0.

tima commented

@seocam

argument_spec['template'] = dict(type='raw', default=None)