mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
Fix error message when using the params option (#42305)
This commit is contained in:
parent
c93d9e8ea1
commit
2762c4fe1a
2 changed files with 2 additions and 4 deletions
|
@ -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']
|
||||
|
|
|
@ -734,8 +734,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 jenkins_plugin was removed in Ansible 2.5"
|
||||
"since it circumvents Ansible's option handling")
|
||||
module.fail_json(msg="The params option to jenkins_plugin was removed in Ansible 2.5 since it circumvents Ansible's option handling")
|
||||
|
||||
# Force basic authentication
|
||||
module.params['force_basic_auth'] = True
|
||||
|
|
Loading…
Reference in a new issue