New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
apt_repository does not recognize filename option #32833
Comments
@sgutermann could you check installed Ansible version ? |
ansible 2.3.1.0 |
Same on ansible 2.4.2.0 |
Using
This error is legit,
nonetheless the
@sgutermann which error did you encounter ? |
Sorry for not updating, but yes, I noticed that with the syntax, however even with the "deb" added in my above example I still get the same error. Other Playbook, other repo: fatal: [debian.lamido.de]: FAILED! => { ###################################### ansible 2.4.2.0 |
Ok, this is STRANGE, but after completely cleaning out my python and ansible and installing it again it all works. ######################################### ansible 2.4.2.0 |
ISSUE TYPE
COMPONENT NAME
apt_repository
ANSIBLE VERSION
CONFIGURATION
No special configs, default install via pip
OS / ENVIRONMENT
Running ansible on debian jessie.
Deploying to debian stretch.
SUMMARY
FAILED! => {"changed": false, "failed": true, "msg": "Unsupported parameters for (apt_repository) module: filename. Supported parameters include: install_python_apt,mode,repo,state,update_cache,validate_certs"}
STEPS TO REPRODUCE
I simply followed the example in the documentation for apt_repository and added "filename" which should be available since ansible 2.1
EXPECTED RESULTS
I expected to get the apt repo listed under the filename give as described in the documentation.
ACTUAL RESULTS
The text was updated successfully, but these errors were encountered: