diff options
author | Julien Brochet <julien@aerialls.io> | 2018-07-04 17:38:25 +0200 |
---|---|---|
committer | Abhijeet Kasurde <akasurde@redhat.com> | 2018-07-04 21:08:25 +0530 |
commit | 2762c4fe1acede61d49429fec6a41be7f1af7d44 (patch) | |
tree | 80bb2492788290ff1f28e18f1d3cc6d050b825bb /lib/ansible/modules/packaging | |
parent | c93d9e8ea160e0aab6a36cb4bb3181833b09fb09 (diff) | |
download | ansible-2762c4fe1acede61d49429fec6a41be7f1af7d44.tar.gz |
Fix error message when using the params option (#42305)
Diffstat (limited to 'lib/ansible/modules/packaging')
-rw-r--r-- | lib/ansible/modules/packaging/os/yum_repository.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/ansible/modules/packaging/os/yum_repository.py b/lib/ansible/modules/packaging/os/yum_repository.py index 6497771ca7..4ab3954011 100644 --- a/lib/ansible/modules/packaging/os/yum_repository.py +++ b/lib/ansible/modules/packaging/os/yum_repository.py @@ -613,8 +613,7 @@ def main(): # Params was removed # https://meetbot.fedoraproject.org/ansible-meeting/2017-09-28/ansible_dev_meeting.2017-09-28-15.00.log.html if module.params['params']: - module.fail_json(msg="The params option to yum_repository was removed in Ansible 2.5" - "since it circumvents Ansible's option handling") + module.fail_json(msg="The params option to yum_repository was removed in Ansible 2.5 since it circumvents Ansible's option handling") name = module.params['name'] state = module.params['state'] |