From 962528f5110e3155784444c32ea0087b0004f6c3 Mon Sep 17 00:00:00 2001 From: Jiri Tyr Date: Thu, 21 Sep 2017 18:11:07 +0100 Subject: [PATCH] Make clear the file must not contain .repo (fixes #30644) (#30656) --- lib/ansible/modules/packaging/os/yum_repository.py | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/lib/ansible/modules/packaging/os/yum_repository.py b/lib/ansible/modules/packaging/os/yum_repository.py index cbb13d67eb2..ddded0f2146 100644 --- a/lib/ansible/modules/packaging/os/yum_repository.py +++ b/lib/ansible/modules/packaging/os/yum_repository.py @@ -9,9 +9,11 @@ from __future__ import absolute_import, division, print_function __metaclass__ = type -ANSIBLE_METADATA = {'metadata_version': '1.1', - 'status': ['stableinterface'], - 'supported_by': 'core'} +ANSIBLE_METADATA = { + 'metadata_version': '1.1', + 'status': ['stableinterface'], + 'supported_by': 'core' +} DOCUMENTATION = ''' --- @@ -112,7 +114,8 @@ options: required: false default: null description: - - File to use to save the repo in. Defaults to the value of I(name). + - File name without the C(.repo) extension to save the repo in. Defaults + to the value of I(name). gpgcakey: required: false default: null