Closed flaper87 closed 7 years ago
@flaper87
This PR doesn't belong here. It needs to be made against the ansible repo. k8s_common.py
is actually part of module_utils, here.
We should probably remove this copy. It was added here to help older version of Ansible that don't include a k8s_common.py
.
@chouseknecht holy moly, I had no idea! Will move this PR, thanks 👍
This PR adds the ability to generate kubernetes YAML files from modules.
By adding the request's dictionary to the returned ansible results and the ability to have
dry_run
executions, we'll allow consumers of this module for registering the result variable and dumping the requests onto a YAML file for later use with other k8s specific CLI tools.