summaryrefslogtreecommitdiffstats
path: root/roles/lib_openshift/library
diff options
context:
space:
mode:
Diffstat (limited to 'roles/lib_openshift/library')
-rw-r--r--roles/lib_openshift/library/oc_configmap.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/roles/lib_openshift/library/oc_configmap.py b/roles/lib_openshift/library/oc_configmap.py
index 4f5e5e7d8..0b6f1adf8 100644
--- a/roles/lib_openshift/library/oc_configmap.py
+++ b/roles/lib_openshift/library/oc_configmap.py
@@ -84,14 +84,14 @@ options:
name:
description:
- Name of the object that is being queried.
- required: false
+ required: True
default: None
aliases: []
namespace:
description:
- The namespace where the object lives.
required: false
- default: str
+ default: default
aliases: []
from_file:
description:
@@ -1553,7 +1553,7 @@ def main():
choices=['present', 'absent', 'list']),
debug=dict(default=False, type='bool'),
namespace=dict(default='default', type='str'),
- name=dict(default=None, type='str'),
+ name=dict(default=None, required=True, type='str'),
from_file=dict(default=None, type='dict'),
from_literal=dict(default=None, type='dict'),
),