diff --git a/lib/ansible/modules/extras/packaging/os/dnf.py b/lib/ansible/modules/extras/packaging/os/dnf.py index 7d432186a6e..4425905d272 100644 --- a/lib/ansible/modules/extras/packaging/os/dnf.py +++ b/lib/ansible/modules/extras/packaging/os/dnf.py @@ -330,7 +330,7 @@ def main(): enablerepo=dict(type='list', default=[]), disablerepo=dict(type='list', default=[]), list=dict(), - conf_file=dict(default=None), + conf_file=dict(default=None, type='path'), disable_gpg_check=dict(default=False, type='bool'), ), required_one_of=[['name', 'list']],