From aaeba50e584426fc8f9853dd7128c861b1efe8de Mon Sep 17 00:00:00 2001 From: Kenny Woodson Date: Thu, 9 Feb 2017 10:25:41 -0500 Subject: Fixing docs. --- roles/lib_openshift/library/oc_process.py | 102 +++++++++++++++++------- roles/lib_openshift/src/doc/process | 12 ++- roles/lib_openshift/src/test/unit/oc_process.py | 14 +++- roles/lib_openshift/tasks/main.yml | 9 ++- 4 files changed, 100 insertions(+), 37 deletions(-) diff --git a/roles/lib_openshift/library/oc_process.py b/roles/lib_openshift/library/oc_process.py index 60eeb283b..702cb02d4 100644 --- a/roles/lib_openshift/library/oc_process.py +++ b/roles/lib_openshift/library/oc_process.py @@ -38,6 +38,7 @@ import os import re import shutil import subprocess +import tempfile # pylint: disable=import-error import ruamel.yaml as yaml from ansible.module_utils.basic import AnsibleModule @@ -55,7 +56,11 @@ description: options: state: description: - - Currently present is only supported state. + - State has a few different meanings when it comes to process. + - state: present - This state runs an `oc process