Skip to content

Commit

Permalink
Fixing wrong type of params option in yum_repository module (ansible#…
Browse files Browse the repository at this point in the history
…2371)

This commit fixes incorrect type of the "params" option of the
"yum_repository" module. Without this fix the value of the "params"
option is read as a string instead of as a dictionary which makes
it impossible to define any additional YUM repository parameters.
  • Loading branch information
jtyr authored and mattclay committed Dec 8, 2016
1 parent 351dc1f commit 8d09b74
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/ansible/modules/extras/packaging/os/yum_repository.py
Original file line number Diff line number Diff line change
Expand Up @@ -655,7 +655,7 @@ def main():
mirrorlist=dict(),
mirrorlist_expire=dict(),
name=dict(required=True),
params=dict(),
params=dict(type='dict'),
password=dict(no_log=True),
priority=dict(),
protect=dict(type='bool'),
Expand Down

0 comments on commit 8d09b74

Please sign in to comment.