From a21ab5b9908435ecaf91ba2e04ce0493cc01a62a Mon Sep 17 00:00:00 2001 From: Michael Scherer Date: Wed, 30 Mar 2016 21:49:58 +0200 Subject: [PATCH] Use type='path' for reposdir, since that's a path --- lib/ansible/modules/extras/packaging/os/yum_repository.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/ansible/modules/extras/packaging/os/yum_repository.py b/lib/ansible/modules/extras/packaging/os/yum_repository.py index a58a9dbb8c..f269bd4e9e 100644 --- a/lib/ansible/modules/extras/packaging/os/yum_repository.py +++ b/lib/ansible/modules/extras/packaging/os/yum_repository.py @@ -662,7 +662,7 @@ def main(): proxy_password=dict(no_log=True), proxy_username=dict(), repo_gpgcheck=dict(type='bool'), - reposdir=dict(default='/etc/yum.repos.d'), + reposdir=dict(default='/etc/yum.repos.d', type='path'), retries=dict(), s3_enabled=dict(type='bool'), skip_if_unavailable=dict(type='bool'),