diff options
author | Toshio Kuratomi <toshio@fedoraproject.org> | 2015-05-26 11:28:30 -0700 |
---|---|---|
committer | Toshio Kuratomi <toshio@fedoraproject.org> | 2015-05-26 11:29:35 -0700 |
commit | 0f23d8a503c7c081090b2a8a175205fd13adee4f (patch) | |
tree | 8c23cdfa499cd43adf9ad772944890a2b28df9e9 | |
parent | 7c6ebcab6dffe07f858ef38aec27f6eac97697d8 (diff) | |
download | ansible-0f23d8a503c7c081090b2a8a175205fd13adee4f.tar.gz |
Fix syntaxerror in the required_if arg spec check
-rw-r--r-- | lib/ansible/module_utils/basic.py | 2 |
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 ''' |