1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

Fix Python 3.7 syntax error in yum_repository.

This commit is contained in:
Matt Clay 2018-01-09 15:32:05 -08:00
parent 15a04a3da7
commit 232dc7110c
2 changed files with 59 additions and 57 deletions

View file

@ -615,9 +615,7 @@ class YumRepo(object):
def main():
# Module settings
module = AnsibleModule(
argument_spec=dict(
async=dict(type='bool'),
argument_spec = dict(
bandwidth=dict(),
baseurl=dict(type='list'),
cost=dict(),
@ -671,7 +669,12 @@ def main():
timeout=dict(),
ui_repoid_vars=dict(),
username=dict(),
),
)
argument_spec['async'] = dict(type='bool')
module = AnsibleModule(
argument_spec=argument_spec,
add_file_common_args=True,
supports_check_mode=True,
)

View file

@ -1 +0,0 @@
lib/ansible/modules/packaging/os/yum_repository.py