summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorToshio Kuratomi <toshio@fedoraproject.org>2015-05-26 11:28:30 -0700
committerToshio Kuratomi <toshio@fedoraproject.org>2015-05-26 11:29:35 -0700
commit0f23d8a503c7c081090b2a8a175205fd13adee4f (patch)
tree8c23cdfa499cd43adf9ad772944890a2b28df9e9
parent7c6ebcab6dffe07f858ef38aec27f6eac97697d8 (diff)
downloadansible-0f23d8a503c7c081090b2a8a175205fd13adee4f.tar.gz
Fix syntaxerror in the required_if arg spec check
-rw-r--r--lib/ansible/module_utils/basic.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ansible/module_utils/basic.py b/lib/ansible/module_utils/basic.py
index 935eb31e66..e772a12efc 100644
--- a/lib/ansible/module_utils/basic.py
+++ b/lib/ansible/module_utils/basic.py
@@ -972,7 +972,7 @@ class AnsibleModule(object):
if count == 0:
missing.append(check)
if len(missing) > 0:
- self.fail_json(msg="%s is %s but the following are missing: %s" % (key, val, ','.join(missing))
+ self.fail_json(msg="%s is %s but the following are missing: %s" % (key, val, ','.join(missing)))
def _check_argument_values(self):
''' ensure all arguments have the requested values, and there are no stray arguments '''