Browse Source

Adding namespace to doc.

Kenny Woodson 8 years ago
parent
commit
58f11324d9
2 changed files with 14 additions and 2 deletions
  1. 7 1
      roles/lib_openshift/library/oc_image.py
  2. 7 1
      roles/lib_openshift/src/doc/image

+ 7 - 1
roles/lib_openshift/library/oc_image.py

@@ -54,7 +54,7 @@ from ansible.module_utils.basic import AnsibleModule
 
 DOCUMENTATION = '''
 ---
-module: oc_label
+module: oc_image
 short_description: Create, modify, and idempotently manage openshift labels.
 description:
   - Modify openshift labels programmatically.
@@ -73,6 +73,12 @@ options:
     required: false
     default: /etc/origin/master/admin.kubeconfig
     aliases: []
+  namespace:
+    description:
+    - The namespace where this object lives
+    required: false
+    default: default
+    aliases: []
   debug:
     description:
     - Turn on debug output.

+ 7 - 1
roles/lib_openshift/src/doc/image

@@ -3,7 +3,7 @@
 
 DOCUMENTATION = '''
 ---
-module: oc_label
+module: oc_image
 short_description: Create, modify, and idempotently manage openshift labels.
 description:
   - Modify openshift labels programmatically.
@@ -22,6 +22,12 @@ options:
     required: false
     default: /etc/origin/master/admin.kubeconfig
     aliases: []
+  namespace:
+    description:
+    - The namespace where this object lives
+    required: false
+    default: default
+    aliases: []
   debug:
     description:
     - Turn on debug output.