Skip to content

Commit

Permalink
Validate that name elements are strings
Browse files Browse the repository at this point in the history
  • Loading branch information
hannseman committed Jul 11, 2019
1 parent 7dfde70 commit dbb7815
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/ansible/modules/packaging/language/pip.py
Expand Up @@ -580,7 +580,7 @@ def main():
module = AnsibleModule(
argument_spec=dict(
state=dict(type='str', default='present', choices=state_map.keys()),
name=dict(type='list'),
name=dict(type='list', elements='str'),
version=dict(type='str'),
requirements=dict(type='str'),
virtualenv=dict(type='path'),
Expand Down

0 comments on commit dbb7815

Please sign in to comment.