Commit Graph

6 Commits (7a5ea9cae49d1ed86d08aa6ac69d7faaec65da33)

Author SHA1 Message Date
Brian Coca 07f1e7540b move to use ansible logging 2017-10-16 11:34:55 -07:00
Fabian von Feilitzsch b058b8e653 Update k8s_common.py 2017-10-15 14:52:39 -04:00
Fabian von Feilitzsch 20d2a83e13 use to_str instead of json.dumps when serializing k8s object for logging 2017-10-15 14:52:39 -04:00
Flavio Percoco Premoli 4fad156768 Allow for generating kubernetes YAML files from modules (#27833)
* Return the request dictionary in the results

It's sometimes useful to have access to the request params in a k8s
style. The dictionary returned by the request_params call can be
serialized into YAML to produce a k8s like file.

* Add dry_run option to skip module execution

By having support for dry_run executions, it'll be possible to generate
YAML files from the results dictionary by using the data in the
`requests` key.
2017-08-07 13:04:03 -04:00
Jason DeTiberus 3642de9ecc k8s/openshift module_utils split (#23115) 2017-03-30 19:02:17 +02:00
Chris Houseknecht d2ea851d09 Adds k8s_common.py (#22899) 2017-03-28 02:27:28 +02:00